mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 16:48:36 +00:00
Fix anonymous redis session expiration
This commit is contained in:
@@ -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