This commit is contained in:
yumoqing 2025-09-02 13:30:03 +08:00
parent 5e80cc6b84
commit afaf08dbee

View File

@ -120,7 +120,6 @@ async def basic_auth(sor, request):
async def getAuthenticationUserid(sor, request): async def getAuthenticationUserid(sor, request):
auth = request.headers.get('Authorization') auth = request.headers.get('Authorization')
if auth is None: if auth is None:
debug(f'{request.headers=}, not Authorization')
return None return None
for h,f in registered_auth_methods.items(): for h,f in registered_auth_methods.items():
if auth.startswith(h): if auth.startswith(h):