core: switch to different cookie names
This commit is contained in:
parent
60b1c1b493
commit
db3ae58a21
|
@ -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',
|
||||||
|
|
Reference in a new issue