This commit is contained in:
yumoqing 2023-06-30 14:46:08 +08:00
parent 3452427c52
commit 1c9d3d3797

View File

@ -42,7 +42,7 @@ class AuthAPI(AppLogger):
session_reissue_time = self.conf.website.session_reissue_time session_reissue_time = self.conf.website.session_reissue_time
policy = auth.SessionTktAuthentication(urandom(32), session_max_time, policy = auth.SessionTktAuthentication(urandom(32), session_max_time,
reissue_time=30, reissue_time=session_reissue_time,
include_ip=True) include_ip=True)
# setup aiohttp_auth.auth middleware in aiohttp fashion # setup aiohttp_auth.auth middleware in aiohttp fashion