root: set SameSite to None when debugging
This commit is contained in:
parent
70ede8581a
commit
3453077d7b
|
@ -53,6 +53,7 @@ if DEBUG:
|
||||||
CSRF_COOKIE_NAME = "passbook_csrf_debug"
|
CSRF_COOKIE_NAME = "passbook_csrf_debug"
|
||||||
LANGUAGE_COOKIE_NAME = "passbook_language_debug"
|
LANGUAGE_COOKIE_NAME = "passbook_language_debug"
|
||||||
SESSION_COOKIE_NAME = "passbook_session_debug"
|
SESSION_COOKIE_NAME = "passbook_session_debug"
|
||||||
|
SESSION_COOKIE_SAMESITE = None
|
||||||
else:
|
else:
|
||||||
CSRF_COOKIE_NAME = "passbook_csrf"
|
CSRF_COOKIE_NAME = "passbook_csrf"
|
||||||
LANGUAGE_COOKIE_NAME = "passbook_language"
|
LANGUAGE_COOKIE_NAME = "passbook_language"
|
||||||
|
|
Reference in New Issue