From: Ɓukasz Rekucki Date: Fri, 5 Mar 2010 11:05:26 +0000 (+0100) Subject: Removed assertion X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/65d50b0d23b10a412396237996c356fb954d1d3a?hp=e50a9a26fd33d555ffc3a8363f8aa936afbbcb2f Removed assertion --- 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