Set same-origin referrer policy

This commit is contained in:
Tanner Collin 2020-05-07 04:12:48 +00:00
parent 32eeebaf00
commit 5367470daa

View File

@ -53,6 +53,7 @@ if DEBUG:
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SECURE_REFERRER_POLICY = 'same-origin'
# Application definition