diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm index 74acdc1092a64fc1c783ad56cc80c62f85499e99..da48494d73048d1dedd54c7aa9e7b44fcb8df411 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm @@ -1033,7 +1033,9 @@ sub run { } # Ask consent for logout - if ( $req->param('confirm') or $bypassConfirm ) { + if ( ( $req->method eq 'POST' and $req->param('confirm') ) + or $bypassConfirm ) + { my $err; if ( ( defined( $req->param('confirm') )