Set SESSION_COOKIE_SECURE setting.

This commit is contained in:
Santiago Lamora 2020-01-23 17:52:49 +01:00
parent 4b9f401c4c
commit 02d56a890c

View file

@ -125,7 +125,7 @@ LOGIN_URL = '/auth/login/'
SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"
# SESSION_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = config('SESSION_COOKIE_SECURE', default=True, cast=bool)
# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/