don't try to confirm empty students
[edumed.git] / edumed / settings / auth.py
1 # -*- coding: utf-8 -*-
2 from .apps import INSTALLED_APPS
3
4 if 'django_cas' in INSTALLED_APPS:
5     AUTHENTICATION_BACKENDS = (
6         'django.contrib.auth.backends.ModelBackend',
7         'fnpdjango.auth_backends.AttrCASBackend',
8     )