Set SESSION_COOKIE_SECURE setting.
This commit is contained in:
parent
4b9f401c4c
commit
02d56a890c
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue