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
1 changed files with 3 additions and 0 deletions

View File

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