Skip to content

Commit

Permalink
Fix header auth (#11985)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangel-nubla committed Jun 16, 2024
1 parent 3c12872 commit 02af1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/api/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down

0 comments on commit 02af1b0

Please sign in to comment.