From 96f6667f24c35e58ec99189510bee2381a92d454 Mon Sep 17 00:00:00 2001 From: Christophe Maudoux Date: Sat, 30 Apr 2022 09:52:37 +0200 Subject: [PATCH] Propagate to MFA #1877 --- .../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 35bf28eeb..657dfc511 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/SecondFactor.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/SecondFactor.pm @@ -134,9 +134,9 @@ sub _verify { "Update sessionInfo with new authenticationLevel: $l"); $req->sessionInfo->{authenticationLevel} = $l; - # Compute macros & local groups again with new authenticationLevel - $self->logger->debug("Compute macros and local groups..."); - $req->steps( [ 'setMacros', 'setLocalGroups' ] ); + # Compute macros & groups with new authenticationLevel + $self->logger->debug("Compute macros and groups..."); + $req->steps( [ $self->p->groupsAndMacros, 'setLocalGroups' ] ); if ( my $error = $self->p->process($req) ) { $self->logger->debug("SFA: Process returned error: $error"); $req->error($error);