Skip to content

Commit

Permalink
No auth on GetSystemDateAndTime #1355
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Oct 2, 2024
1 parent 92a38e9 commit 7bf958e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/wyzebridge/onvif.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def service_resp(streams):
else:
resp = unknown_request()

if not WbAuth.auth_onvif(creds):
if action != "GetSystemDateAndTime" and not WbAuth.auth_onvif(creds):
logger.error(f"[ONVIF] Auth failed for {action=} with {creds=}")
resp = unauthorized()

Expand Down

0 comments on commit 7bf958e

Please sign in to comment.