Fix anonymous redis session expiration

This commit is contained in:
sebalix committed 2020-03-05 15:18:02 +01:00
1 parent ae2e109ea6
commit 1d3727491c
1 file changed
+1 -1
+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(
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.