1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

using custom accounts.backends.MyRemoteUserBackend, which adds default instances and attributes for user

create_missing_userattributes removed from accounts view
This commit is contained in:
Ing. Jan KRCMAR 2017-03-31 14:29:27 +02:00
parent 609651d707
commit fe89af9d8f
3 changed files with 26 additions and 13 deletions

View file

@ -45,8 +45,8 @@ MIDDLEWARE_CLASSES = (
)
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.RemoteUserBackend',
#'accounts.backends.MyRemoteUserBackend',
#'django.contrib.auth.backends.RemoteUserBackend',
'accounts.backends.MyRemoteUserBackend',
)
LOGIN_URL = '/accounts/login'