summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-07-29 21:00:02 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-07-29 21:12:10 (GMT)
commitd026ce40e179d9d9bb9cf3a77fbf88c690ed7198 (patch)
tree9a122f04949907cecf92f8b1c8ae7d78e202eb0d
parent349a4ec3bc700680d24d108d6dc241f04632669e (diff)
downloaddjango-mellon-d026ce40e179d9d9bb9cf3a77fbf88c690ed7198.zip
django-mellon-d026ce40e179d9d9bb9cf3a77fbf88c690ed7198.tar.gz
django-mellon-d026ce40e179d9d9bb9cf3a77fbf88c690ed7198.tar.bz2
don't use RelayState as continuation URL in case of errors (#25522)
-rw-r--r--mellon/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mellon/views.py b/mellon/views.py
index 5b193f8..fc978fa 100644
--- a/mellon/views.py
+++ b/mellon/views.py
@@ -142,7 +142,7 @@ class LoginView(ProfileMixin, LogMixin, View):
error_redirect_after_timeout = utils.get_setting(idp, 'ERROR_REDIRECT_AFTER_TIMEOUT')
if error_url:
error_url = resolve_url(error_url)
- next_url = error_url or login.msgRelayState or resolve_url(settings.LOGIN_REDIRECT_URL)
+ next_url = error_url or resolve_url(settings.LOGIN_REDIRECT_URL)
return render(request, 'mellon/authentication_failed.html',
{
'debug': settings.DEBUG,