From 104d57f753091dd039e73d79fc017ba76e1f78b3 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 4 Feb 2022 13:02:12 +0100 Subject: [PATCH] views: do not logout in sp_response_logout (#61431) It's already done in the initialization view, if a new session has been open since we must keep it open. --- mellon/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mellon/views.py b/mellon/views.py index aa162a4..f23c1de 100644 --- a/mellon/views.py +++ b/mellon/views.py @@ -757,7 +757,6 @@ class LogoutView(ProfileMixin, LogMixin, View): # the user shouldn't be logged anymore at this point but it may happen # that a concurrent SSO happened in the meantime, so we do another # logout to make sure. - auth.logout(request) try: logout.processResponseMsg(request.META['QUERY_STRING']) except lasso.ProfileStatusNotSuccessError: