Use fnpdjango.auth_backends.AttrCASBackend.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Thu, 27 Mar 2014 14:23:21 +0000 (15:23 +0100)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Thu, 27 Mar 2014 14:23:21 +0000 (15:23 +0100)
src/project_name/settings/auth.py

index 91b062e..d53af51 100644 (file)
@@ -4,5 +4,5 @@ from . import INSTALLED_APPS
 if 'django_cas' in INSTALLED_APPS:
     AUTHENTICATION_BACKENDS = (
         'django.contrib.auth.backends.ModelBackend',
 if 'django_cas' in INSTALLED_APPS:
     AUTHENTICATION_BACKENDS = (
         'django.contrib.auth.backends.ModelBackend',
-        'django_cas.backends.CASBackend',
+        'fnpdjango.auth_backends.AttrCASBackend',
     )
     )