mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
consider anonymous user authenticated
This commit is contained in:
parent
78eace258e
commit
e0cd6a3aa5
@ -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():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user