Commits

Peter Sanchez  committed 8b64880

made djtools/auth_backends.py Django 1.3 friendly.

  • Participants
  • Parent commits 553499c
  • Branches trunk

Comments (0)

Files changed (1)

File webutils/djtools/auth_backends.py

 
 
 class EmailBackend(object):
+    supports_anonymous_user = False
+    supports_inactive_user = False
+    supports_object_permissions = False
+
     def authenticate(self, username=None, password=None):
         if '@' in username:
             kwargs = {'email__iexact': username}