fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e50a9a2
)
Removed assertion
author
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 5 Mar 2010 11:05:26 +0000
(12:05 +0100)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 5 Mar 2010 11:05:26 +0000
(12:05 +0100)
apps/django_cas/middleware.py
patch
|
blob
|
history
diff --git
a/apps/django_cas/middleware.py
b/apps/django_cas/middleware.py
index
e09f063
..
8d5243d
100755
(executable)
--- 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'.")
"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
def process_view(self, request, view_func, view_args, view_kwargs):
"""Forwards unauthenticated requests to the admin page to the CAS