This commit is contained in:
Christophe Maudoux 2022-08-28 23:31:04 +02:00
parent c9449ed41d
commit df722265dc
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
sub init {
my ($self) = @_;
$self->conf->{utotp2fActivation} = 'has2f("TOTP") or has2f("U2F")'
if ( $self->conf->{utotp2fActivation} eq '1' );
if $self->conf->{utotp2fActivation} eq '1';
foreach (qw(U2F TOTP)) {