Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to terminate session #22

Open
martinskou opened this issue Nov 5, 2018 · 1 comment
Open

Unable to terminate session #22

martinskou opened this issue Nov 5, 2018 · 1 comment

Comments

@martinskou
Copy link

As the session-strategy always add an ring.middleware.anti-forgery/anti-forgery-token to then :session in response, its impossible to delete the session on the server.

Because the normal way to delete a session is to assoc :session with nil.
https://github.com/ring-clojure/ring/wiki/Sessions

@weavejester
Copy link
Member

Thanks for the report. I'll accept a PR to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants