Skip to content

Commit

Permalink
Merge pull request getredash#980 from machira/master
Browse files Browse the repository at this point in the history
Add environment variable to override secure_flag on session cookie
  • Loading branch information
arikfr committed Apr 21, 2016
2 parents 4ff708d + dee205a commit d602127
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ def all_settings():

JOB_EXPIRY_TIME = int(os.environ.get("REDASH_JOB_EXPIRY_TIME", 3600 * 6))
COOKIE_SECRET = os.environ.get("REDASH_COOKIE_SECRET", "c292a0a3aa32397cdb050e233733900f")
SESSION_COOKIE_SECURE = parse_boolean(os.environ.get("REDASH_SESSION_COOKIE_SECURE") or str(ENFORCE_HTTPS))

LOG_LEVEL = os.environ.get("REDASH_LOG_LEVEL", "INFO")

# Mail settings:
Expand Down

0 comments on commit d602127

Please sign in to comment.