Fix anonymous redis session expiration

This commit is contained in:
sebalix
2020-03-05 15:18:02 +01:00
parent ae2e109ea6
commit 1d3727491c
+1 -1
View File
@@ -51,7 +51,7 @@ class RedisSessionStore(SessionStore):
# allow to set a custom expiration for a session
# such as a very short one for monitoring requests
if session._uid:
if session_oe._uid:
expiration = getattr(session_oe, 'expiration', self.expiration)
else:
expiration = getattr(