mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-21 00:06:44 +01:00
Fix header auth (#11985)
This commit is contained in:
parent
3c12872a56
commit
02af1b0ac7
@ -193,7 +193,7 @@ def auth():
|
|||||||
# or use anonymous if none are specified
|
# or use anonymous if none are specified
|
||||||
if proxy_config.header_map.user is not None:
|
if proxy_config.header_map.user is not None:
|
||||||
upstream_user_header_value = request.headers.get(
|
upstream_user_header_value = request.headers.get(
|
||||||
current_app.frigate_config.auth.header_map.user,
|
proxy_config.header_map.user,
|
||||||
type=str,
|
type=str,
|
||||||
default="anonymous",
|
default="anonymous",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user