From 44547695f662c957f5242f7cfefd328b33d99830 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Fri, 7 Jan 2011 14:14:51 +0000 Subject: [PATCH] Update the authentication backend with upcoming features --- sso/backends.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sso/backends.py b/sso/backends.py index 796c058..01be31d 100644 --- a/sso/backends.py +++ b/sso/backends.py @@ -5,6 +5,10 @@ from hashlib import sha1 class SimpleHashModelBackend(ModelBackend): + supports_anonymous_user = False + supports_object_permissions = False + supports_inactive_user = False + def authenticate(self, username=None, password=None): try: user = User.objects.get(username=username)