Browse Source

[FIX] auth_session_timeout: ormcache should be explicitly declared

Closes #1532
pull/1538/head
Pedro M. Baeza 6 years ago
parent
commit
7b33aca2fa
  1. 1
      auth_session_timeout/models/res_users.py

1
auth_session_timeout/models/res_users.py

@ -102,6 +102,7 @@ class ResUsers(models.Model):
'Exception updating session file access/modified times.',
)
@tools.ormcache('sid')
def _compute_session_token(self, sid):
res = super(ResUsers, self)._compute_session_token(sid)
if http.request:

Loading…
Cancel
Save