X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5c2cc5b446e8b36c5b9ae0d404abdfdc77fc0c22..32cad0f6194605b4a8e881397665769e90173732:/apps/django_cas/middleware.py?ds=sidebyside 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