dnscms: use distinct cookie names in dev
This commit is contained in:
1 file changed
+5
@@ -11,6 +11,11 @@ ALLOWED_HOSTS = ["*"]
|
||||
|
||||
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
||||
|
||||
# dnscms and galtinn both run on localhost in dev, and cookies ignore ports:
|
||||
# unshared cookie names keep the two apps from deleting each other's sessions
|
||||
SESSION_COOKIE_NAME = "dnscms_sessionid"
|
||||
CSRF_COOKIE_NAME = "dnscms_csrftoken"
|
||||
|
||||
try:
|
||||
from .local import * # noqa: F403
|
||||
except ImportError:
|
||||
|
||||
Reference in new issue
Block a user