kit-clj / kit-clj.github.io

Kit documentation
https://kit-clj.github.io/
20 stars 27 forks source link

Update sessions.md: fix bug in clear-session! #58

Closed aviflax closed 7 months ago

aviflax commented 7 months ago

I believe there’s an error here… this implies that returning a response map without :session will clear the session, but as far as I can tell (this is my first time using this middleware) that’s not the case; rather one needs to return the response map with :session nil to clear the session.

yogthos commented 7 months ago

Ah yes, you are very much correct!