Set SESSION_COOKIE_SECURE for deployed environments.

This sets the "Secure" attribute on cookies sent to the client:

https://flask.palletsprojects.com/en/1.1.x/config/#SESSION_COOKIE_SECURE
This commit is contained in:
dandds
2020-01-29 14:39:56 -05:00
parent 7812da5eae
commit 6edc7b138b
3 changed files with 3 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ SERVER_NAME
SESSION_COOKIE_NAME=atat
SESSION_COOKIE_DOMAIN
SESSION_KEY_PREFIX=session:
SESSION_COOKIE_SECURE=false
SESSION_TYPE = redis
SESSION_USE_SIGNER = True
SQLALCHEMY_ECHO = False