Skip to content

Commit

Permalink
Experimental, return the same user hash for v1 auth
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmotea authored Mar 18, 2023
1 parent 369b96f commit ce83f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BridgeEmulator/flaskUI/v2restapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def get(self):
authorisation = authorizeV2(request.headers)
if "user" in authorisation:
logging.debug("Auth 200")
return {}, 200, {'hue-application-id': '36b1e193-4b74-4763-a054-0578cd927a7b'}
return {}, 200, {'hue-application-id': request.headers["hue-application-key"]}

else:
logging.debug("Auth 403")
Expand Down

0 comments on commit ce83f0c

Please sign in to comment.