core: switch to different cookie names

This commit is contained in:
Jens Langhammer 2018-12-09 21:06:36 +01:00
parent 60b1c1b493
commit db3ae58a21
No known key found for this signature in database
GPG key ID: BEBC05297D92821B

View file

@ -39,6 +39,9 @@ LOGIN_URL = 'passbook_core:auth-login'
# Custom user model # Custom user model
AUTH_USER_MODEL = 'passbook_core.User' AUTH_USER_MODEL = 'passbook_core.User'
CSRF_COOKIE_NAME = 'passbook_csrf'
SESSION_COOKIE_NAME = 'passbook_session'
LANGUAGE_COOKIE_NAME = 'passbook_language'
AUTHENTICATION_BACKENDS = [ AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend', 'django.contrib.auth.backends.ModelBackend',