root: set SameSite to None when debugging

This commit is contained in:
Jens Langhammer 2020-02-23 22:49:33 +01:00
parent 70ede8581a
commit 3453077d7b
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ if DEBUG:
CSRF_COOKIE_NAME = "passbook_csrf_debug"
LANGUAGE_COOKIE_NAME = "passbook_language_debug"
SESSION_COOKIE_NAME = "passbook_session_debug"
SESSION_COOKIE_SAMESITE = None
else:
CSRF_COOKIE_NAME = "passbook_csrf"
LANGUAGE_COOKIE_NAME = "passbook_language"