Skip to content

Commit

Permalink
Settings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Sep 17, 2018
1 parent ac73d20 commit 6e89679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/settings/__init__.py
Expand Up @@ -50,7 +50,7 @@ def all_settings():

GOOGLE_CLIENT_ID = os.environ.get("REDASH_GOOGLE_CLIENT_ID", "")
GOOGLE_CLIENT_SECRET = os.environ.get("REDASH_GOOGLE_CLIENT_SECRET", "")
GOOGLE_OAUTH_ENABLED = GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET
GOOGLE_OAUTH_ENABLED = bool(GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET)

# Enables the use of an externally-provided and trusted remote user via an HTTP
# header. The "user" must be an email address.
Expand Down

0 comments on commit 6e89679

Please sign in to comment.