Commit b4e46790 by Brodie Rao

Fixed excess tab space

parent 5c6ad25b
......@@ -39,7 +39,7 @@ class CASMiddleware(object):
if not request.path.startswith(settings.CAS_ADMIN_PREFIX):
return None
elif not view_func.__module__.startswith('django.contrib.admin.'):
return None
return None
if request.user.is_authenticated():
if request.user.is_staff:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment