From bb95e681e6a0803b543ccbf379aa3b83bef5bfcb Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Fri, 26 Feb 2021 09:50:52 +0100 Subject: [PATCH] Tidy --- .../lib/Lemonldap/NG/Portal/Lib/OpenIDConnect.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OpenIDConnect.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OpenIDConnect.pm index 7df19a3c5..950e06d0b 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OpenIDConnect.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OpenIDConnect.pm @@ -1378,9 +1378,9 @@ sub getEndPointAuthenticationCredentials { $self->logger->error("Bad authentication header: $@") if ($@); # Using multiple methods is an error - if ($req->param('client_id')) { + if ( $req->param('client_id') ) { $self->logger->error("Multiple client authentication methods used"); - ( $client_id, $client_secret ) = (undef, undef); + ( $client_id, $client_secret ) = ( undef, undef ); } } elsif ( $req->param('client_id') and $req->param('client_secret') ) {