From afe3d4a83f9a78fb85f945f35a02587621b1cb0c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 27 Sep 2017 14:23:37 +0200 Subject: [PATCH] views: add nodisco=1 to discovery service return url (fixes #19018) --- mellon/views.py | 3 +-- 1 file changed, 1 insertion(+), 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'