Loading aai/authentication_middleware.py +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class AuthenticationMiddleware(MiddlewareMixin): if ( request.session.get(SESSION_KEY) is not None and now_ts - last_prolonged > PROLONG_AFTER ): # checks whether user is assigned to the given session and prolong throttling ): # checks fulfillment of non-empty session and throttling the prolonging time conditions request.session[PROLONG_ATTR] = now_ts request.session.set_expiry( settings.SESSION_COOKIE_AGE Loading Loading
aai/authentication_middleware.py +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class AuthenticationMiddleware(MiddlewareMixin): if ( request.session.get(SESSION_KEY) is not None and now_ts - last_prolonged > PROLONG_AFTER ): # checks whether user is assigned to the given session and prolong throttling ): # checks fulfillment of non-empty session and throttling the prolonging time conditions request.session[PROLONG_ATTR] = now_ts request.session.set_expiry( settings.SESSION_COOKIE_AGE Loading