Remove unnecessary arguments for redirect_to_login.

This commit is contained in:
juanifioren 2015-02-09 17:36:29 -03:00
parent 7792ff3450
commit 7c49df7988

View file

@ -43,8 +43,7 @@ class AuthorizeView(View):
return render(request, 'openid_provider/authorize.html', context)
else:
path = request.get_full_path()
return redirect_to_login(
path, settings.get('LOGIN_URL'), REDIRECT_FIELD_NAME)
return redirect_to_login(path)
except (ClientIdError, RedirectUriError) as error:
context = {