From 65d50b0d23b10a412396237996c356fb954d1d3a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Fri, 5 Mar 2010 12:05:26 +0100 Subject: [PATCH 1/1] Removed assertion --- apps/django_cas/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/django_cas/middleware.py b/apps/django_cas/middleware.py index e09f0634..8d5243d9 100755 --- a/apps/django_cas/middleware.py +++ b/apps/django_cas/middleware.py @@ -22,7 +22,7 @@ class CASMiddleware(object): "middleware to be installed. Edit your MIDDLEWARE_CLASSES " "setting to insert 'django.contrib.auth.middleware." "AuthenticationMiddleware'.") - assert hasattr(request, 'user'), error + # assert hasattr(request, 'user'), error def process_view(self, request, view_func, view_args, view_kwargs): """Forwards unauthenticated requests to the admin page to the CAS -- 2.20.1