Skip to content
Permalink
Browse files

Settings fix

  • Loading branch information...
arikfr committed Sep 17, 2018
1 parent ac73d20 commit 6e896792b839dd90ac456fb0e29dea35b2f05beb
Showing with 1 addition and 1 deletion.
  1. +1 −1 redash/settings/__init__.py
@@ -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.

0 comments on commit 6e89679

Please sign in to comment.
You can’t perform that action at this time.