Skip to content

Commit

Permalink
changed default for SECURE_REFERER_POLICY fixes #2191 (#2192)
Browse files Browse the repository at this point in the history
* changed default for SECURE_REFERER_POLICY fixes #2191

* switch to origin default
  • Loading branch information
tiftran authored and jaredlockhart committed Jan 21, 2020
1 parent f57902b commit 2975fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/experimenter/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@

SESSION_COOKIE_SECURE = config("SESSION_COOKIE_SECURE", default=False, cast=bool)
CSRF_COOKIE_SECURE = config("CSRF_COOKIE_SECURE", default=False, cast=bool)
SECURE_REFERRER_POLICY = config("SECURE_REFERRER_POLICY", default=False)
SECURE_REFERRER_POLICY = config("SECURE_REFERRER_POLICY", default="origin")

# Silenced ssl_redirect and sts checks
SILENCED_SYSTEM_CHECKS = ["security.W008", "security.W004"]

0 comments on commit 2975fb6

Please sign in to comment.