summaryrefslogtreecommitdiffstats
path: root/mellon/views.py
diff options
context:
space:
mode:
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'