From 7b33aca2fa87cd853c9b5ec4edca2adf42447994 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 1 Apr 2019 18:24:18 +0200 Subject: [PATCH] [FIX] auth_session_timeout: ormcache should be explicitly declared Closes #1532 --- auth_session_timeout/models/res_users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/auth_session_timeout/models/res_users.py b/auth_session_timeout/models/res_users.py index c22e17920..1a8c22971 100644 --- a/auth_session_timeout/models/res_users.py +++ b/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: