From dec3eb4feb046078380c05d344b0623d78a73182 Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Wed, 8 Mar 2017 22:48:55 +0000 Subject: [PATCH] Error: IdP cookie was not read (#595) --- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/SAML.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/SAML.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/SAML.pm index 020555d23..eb82d6bca 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/SAML.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/SAML.pm @@ -839,7 +839,7 @@ sub extractFormInfo { } # If IDP is found but not confirmed, let the user confirm it - elsif ( $confirm_flag != 1 ) { + elsif ( $confirm_flag != 1 and !$idp_cookie ) { $self->logger->debug("IDP $idp selected, need user confirmation"); # Control url parameter