1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 18:37:41 +02:00

feat: add access to UserSession from RequestHead (#1164)

* feat: add access to UserSession from RequestHead

* add test case for session from RequestHead and changes entry for the new feature
This commit is contained in:
tglman
2019-12-06 05:21:43 +00:00
committed by Nikolay Kim
parent 205a964d8f
commit fbead137f0
2 changed files with 24 additions and 1 deletions

View File

@ -6,6 +6,7 @@
at successful login to cycle a session (new key/cookie but keeps state).
Use ``Session.purge()`` at logout to invalid a session cookie (and remove
from redis cache, if applicable).
* Add access to the session from RequestHead for use of session from guard methods
## [0.1.1] - 2019-06-03