From 585fae7d83d980854d9dbea8f57f3180aaa297fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20OUDOT?= Date: Thu, 15 Sep 2022 12:05:23 +0200 Subject: [PATCH] Revert "Propagate to MFA #1877" This reverts commit 96f6667f24c35e58ec99189510bee2381a92d454. --- .../lib/Lemonldap/NG/Portal/Main/SecondFactor.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/SecondFactor.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/SecondFactor.pm index cb8da3519..e124e5f56 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/SecondFactor.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/SecondFactor.pm @@ -142,9 +142,9 @@ sub _verify { "Update sessionInfo with new authenticationLevel: $l"); $req->sessionInfo->{authenticationLevel} = $l; - # Compute macros & groups with new authenticationLevel - $self->logger->debug("Compute macros and groups..."); - $req->steps( [ $self->p->groupsAndMacros, 'setLocalGroups' ] ); + # Compute macros & local groups again with new authenticationLevel + $self->logger->debug("Compute macros and local groups..."); + $req->steps( [ 'setMacros', 'setLocalGroups' ] ); if ( my $error = $self->p->process($req) ) { $self->logger->debug("SFA: Process returned error: $error"); $req->error($error);