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.
This commit is contained in:
Benjamin Dauvergne 2022-02-04 13:02:12 +01:00
parent 947c355baf
commit 104d57f753
1 changed files with 0 additions and 1 deletions

View File

@ -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: