Commit d0e24f70 by Brodie Rao

Removed extra whitespace

parent 2582e8e6
......@@ -35,8 +35,8 @@ def _redirect_url(request):
next = settings.CAS_REDIRECT_URL
else:
next = request.META.get('HTTP_REFERER', settings.CAS_REDIRECT_URL)
prefix = (('http://', 'https://')[request.is_secure()] +
get_host(request))
prefix = (('http://', 'https://')[request.is_secure()] +
get_host(request))
if next.startswith(prefix):
next = next[len(prefix):]
return next
......
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