consider anonymous user authenticated

This commit is contained in:
Blake Blackshear 2025-12-17 12:54:10 +00:00
parent 78eace258e
commit e0cd6a3aa5

View File

@ -151,7 +151,7 @@ def _is_authenticated(request: Request) -> bool:
Port 5000 internal requests are considered anonymous despite having admin role.
"""
username = request.headers.get("remote-user")
return username is not None and username != "anonymous"
return username is not None
def allow_public():