Commit 4b785406 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

astakos: Fix TypeError in weblogin

parent 82b0c426
......@@ -68,7 +68,7 @@ def login(request):
"""
next = request.GET.get('next')
if not next:
raise HttpResponseBadRequest('Missing next parameter')
return HttpResponseBadRequest('Missing next parameter')
if not restrict_next(next, allowed_schemes=REDIRECT_ALLOWED_SCHEMES):
return HttpResponseForbidden(_(
......
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