X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5c2cc5b446e8b36c5b9ae0d404abdfdc77fc0c22..b0d77fd4dd2b177e77e2bb038a5864567adfd9df:/apps/django_cas/middleware.py?ds=inline diff --git a/apps/django_cas/middleware.py b/apps/django_cas/middleware.py old mode 100755 new mode 100644 index e09f0634..8d5243d9 --- 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