typo
This commit is contained in:
parent
cb4275d5be
commit
9f6da3d90b
@ -404,14 +404,6 @@ sub tests {
|
|||||||
if ($@);
|
if ($@);
|
||||||
}
|
}
|
||||||
|
|
||||||
# Use TOTP
|
|
||||||
if ( $conf->{yubikey2fActivation} ) {
|
|
||||||
eval "use Auth::Yubikey_WebClient";
|
|
||||||
return ( 0,
|
|
||||||
"Auth::Yubikey_WebClient module is required to enable Yubikey"
|
|
||||||
) if ($@);
|
|
||||||
}
|
|
||||||
|
|
||||||
# Use U2F
|
# Use U2F
|
||||||
if ( $conf->{u2fActivation}
|
if ( $conf->{u2fActivation}
|
||||||
or $conf->{utotp2fActivation} )
|
or $conf->{utotp2fActivation} )
|
||||||
@ -422,6 +414,14 @@ sub tests {
|
|||||||
) if ($@);
|
) if ($@);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Use Yubikey
|
||||||
|
if ( $conf->{yubikey2fActivation} ) {
|
||||||
|
eval "use Auth::Yubikey_WebClient";
|
||||||
|
return ( 0,
|
||||||
|
"Auth::Yubikey_WebClient module is required to enable Yubikey"
|
||||||
|
) if ($@);
|
||||||
|
}
|
||||||
|
|
||||||
# Return
|
# Return
|
||||||
return 1;
|
return 1;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user