diff --git a/auth_session_timeout/models/res_users.py b/auth_session_timeout/models/res_users.py index 04c5bc4c6..c22e17920 100644 --- a/auth_session_timeout/models/res_users.py +++ b/auth_session_timeout/models/res_users.py @@ -102,9 +102,8 @@ class ResUsers(models.Model): 'Exception updating session file access/modified times.', ) - @classmethod - def check(cls, *args, **kwargs): - res = super(ResUsers, cls).check(*args, **kwargs) + def _compute_session_token(self, sid): + res = super(ResUsers, self)._compute_session_token(sid) if http.request: http.request.env.user._auth_timeout_check() return res