Set SESSION_COOKIE_SECURE setting.

This commit is contained in:
Santiago Lamora 2020-01-23 17:52:49 +01:00
parent 4b9f401c4c
commit 02d56a890c
1 changed files with 1 additions and 1 deletions

View File

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