summaryrefslogtreecommitdiffstats
path: root/mellon/views.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2017-09-27 12:23:37 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2017-09-27 12:28:43 (GMT)
commitafe3d4a83f9a78fb85f945f35a02587621b1cb0c (patch)
tree6c21b6d5bc1e66fae03163fb0420b4c12eee8d4f /mellon/views.py
parent850a192bcb393e74ea6842ad2d04e2f3997353e8 (diff)
downloaddjango-mellon-afe3d4a83f9a78fb85f945f35a02587621b1cb0c.zip
django-mellon-afe3d4a83f9a78fb85f945f35a02587621b1cb0c.tar.gz
django-mellon-afe3d4a83f9a78fb85f945f35a02587621b1cb0c.tar.bz2
views: add nodisco=1 to discovery service return url (fixes #19018)
Diffstat (limited to 'mellon/views.py')
-rw-r--r--mellon/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mellon/views.py b/mellon/views.py
index e7dc04c..09b39fa 100644
--- a/mellon/views.py
+++ b/mellon/views.py
@@ -317,8 +317,7 @@ class LoginView(ProfileMixin, LogMixin, View):
url = app_settings.DISCOVERY_SERVICE_URL
params = {
# prevent redirect loops with the discovery service
- 'nodisco': '1',
- 'return': self_url
+ 'return': self_url + '?nodisco=1',
}
if is_passive:
params['isPassive'] = 'true'