Remove unnecessary arguments for redirect_to_login.
This commit is contained in:
parent
7792ff3450
commit
7c49df7988
1 changed files with 1 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue