Skip to content

Commit

Permalink
Fix a bug that doesn't set RODIMUS_SERVICE_USE_BEARER to False (#…
Browse files Browse the repository at this point in the history
…1220)

The original implementation is wrong because env var can only be a string. So when the env var is set, it is always evaludated to true.
  • Loading branch information
tylerwowen authored Jul 17, 2023
1 parent 570d144 commit 8180a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy-board/deploy_board/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
RODIMUS_SERVICE_VERSION = os.getenv("RODIMUS_SERVICE_VERSION", None)
RODIMUS_SERVICE_PROXY_HTTP = os.getenv("RODIMUS_SERVICE_PROXY_HTTP", None)
RODIMUS_SERVICE_PROXY_HTTPS = os.getenv("RODIMUS_SERVICE_PROXY_HTTPS", None)
RODIMUS_SERVICE_USE_BEARER = os.getenv("RODIMUS_SERVICE_USE_BEARER", True)
RODIMUS_SERVICE_USE_BEARER = os.getenv("RODIMUS_SERVICE_USE_BEARER", "true").lower() != "false" # default is True

if IS_PINTEREST:
# use knox if present
Expand Down

0 comments on commit 8180a48

Please sign in to comment.