Skip to content

Commit 9b16e4c

Browse files
committed
fix: SESSION_COOKIE_DOMAIN
1 parent d39f0cd commit 9b16e4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

settings.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
# pylint: disable-next=wrong-import-order,wrong-import-position
6262
import json
6363

64-
CSRF_COOKIE_DOMAIN = os.getenv("CSRF_COOKIE_DOMAIN")
64+
CSRF_COOKIE_DOMAIN = os.getenv("CSRF_COOKIE_DOMAIN", "localhost")
6565
CSRF_COOKIE_SAMESITE = os.getenv("CSRF_COOKIE_SAMESITE", "Lax")
6666
CSRF_TRUSTED_ORIGINS = json.loads(os.getenv("CSRF_TRUSTED_ORIGINS", "[]"))
67+
SESSION_COOKIE_DOMAIN = os.getenv("SESSION_COOKIE_DOMAIN", "localhost")

0 commit comments

Comments
 (0)