Modify redirect rule #1417

environments/ppa-mbqj77/deployments/1
Christophe Maudoux 7 years ago
parent 847ffa31b1
commit 3afe82fe30
  1. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/2F/Engines/Default.pm

@ -254,7 +254,7 @@ sub _displayRegister {
};
}
}
if ( @am == 1 ) {
if ( @am == 1 and not $req->userData->{_2fDevices} ) {
return [ 302, [ Location => $self->conf->{portal} . $am[0]->{URL} ],
[] ];
}

Loading…
Cancel
Save