Fix header auth (#11985)

This commit is contained in:
Miguel Angel Nubla 2024-06-16 11:52:17 +01:00 committed by GitHub
parent 3c12872a56
commit 02af1b0ac7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -193,7 +193,7 @@ def auth():
# or use anonymous if none are specified
if proxy_config.header_map.user is not None:
upstream_user_header_value = request.headers.get(
current_app.frigate_config.auth.header_map.user,
proxy_config.header_map.user,
type=str,
default="anonymous",
)