From 2f098db1495ec0556d16f4933d87eedc82a0fd3d Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 18 Feb 2024 15:52:11 +0800 Subject: [PATCH] bugfix --- ahserver/auth_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ahserver/auth_api.py b/ahserver/auth_api.py index 90857a4..efbcebc 100755 --- a/ahserver/auth_api.py +++ b/ahserver/auth_api.py @@ -105,7 +105,7 @@ class AuthAPI(AppLogger): client_uuid = request.headers.get('client_uuid') ip = self._get_ip(request) valid_until = int(time.time()) + self._max_age - # print(f'hack: my _new_ticket() called ...remote {ip=}, {client_uuid=}') + # print(f'hack: my _new_ticket() called ... remote {ip=}, {client_uuid=}') return self._ticket.new(user_id, valid_until=valid_until, client_ip=ip, @@ -125,7 +125,7 @@ class AuthAPI(AppLogger): @web.middleware async def checkAuth(self,request,handler): - self.info(f'checkAuth() called ...{request.path}') + self.info(f'checkAuth() called ... {request.path=}') t1 = time.time() path = request.path user = await auth.get_auth(request)