From 1c9d3d3797e80d4670b628e2fba420f417a49623 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 30 Jun 2023 14:46:08 +0800 Subject: [PATCH] bugfix --- ahserver/auth_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/auth_api.py b/ahserver/auth_api.py index abfdac2..a305412 100755 --- a/ahserver/auth_api.py +++ b/ahserver/auth_api.py @@ -42,7 +42,7 @@ class AuthAPI(AppLogger): session_reissue_time = self.conf.website.session_reissue_time policy = auth.SessionTktAuthentication(urandom(32), session_max_time, - reissue_time=30, + reissue_time=session_reissue_time, include_ip=True) # setup aiohttp_auth.auth middleware in aiohttp fashion