Skip to content

Commit 7862c17

Browse files
committed
refactor: remove debug print statement for session timeout in UserToken class
1 parent 1dc6d6e commit 7862c17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/common/auth/handle/impl/user_token.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ def handle(self, request, token: str, get_token_details):
285285
raise AppAuthenticationFailed(1002, _('Login expired'))
286286
auth_details = get_token_details()
287287
timeout = CONFIG.get_session_timeout()
288-
print(timeout)
289288
cache.touch(token, timeout=datetime.timedelta(seconds=timeout).seconds, version=version)
290289
user = QuerySet(User).get(id=auth_details['id'])
291290
auth = get_auth(user)

0 commit comments

Comments
 (0)