Make the remaining flask applications send the cookie over https only
This commit is contained in:
parent
73b1222f6b
commit
f05af51730
2 changed files with 4 additions and 1 deletions
|
@ -24,3 +24,5 @@ ANITYA_WEB_FEDORA_OPENID = 'https://id.fedoraproject.org'
|
||||||
|
|
||||||
# This is required to fix login
|
# This is required to fix login
|
||||||
PREFERRED_URL_SCHEME='https'
|
PREFERRED_URL_SCHEME='https'
|
||||||
|
# Make browsers send session cookie only via HTTPS
|
||||||
|
SESSION_COOKIE_SECURE=True
|
||||||
|
|
|
@ -23,7 +23,8 @@ SECRET_KEY = '{{ mirrormanager_secret_key }}'
|
||||||
# This should be kept really secret!
|
# This should be kept really secret!
|
||||||
PASSWORD_SEED = "{{ mirrormanager_password_seed }}"
|
PASSWORD_SEED = "{{ mirrormanager_password_seed }}"
|
||||||
|
|
||||||
|
# Make browsers send session cookie only via HTTPS
|
||||||
|
SESSION_COOKIE_SECURE=True
|
||||||
|
|
||||||
###
|
###
|
||||||
# Other configuration items for the web-app
|
# Other configuration items for the web-app
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue