From 02af1b0ac7669c6363585b00dc657474a74b0a54 Mon Sep 17 00:00:00 2001 From: Miguel Angel Nubla Date: Sun, 16 Jun 2024 11:52:17 +0100 Subject: [PATCH] Fix header auth (#11985) --- frigate/api/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/api/auth.py b/frigate/api/auth.py index fb2ad3a34b..9245056ed0 100644 --- a/frigate/api/auth.py +++ b/frigate/api/auth.py @@ -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", )