Commit 2c2cc10b authored by Côme Chilliet's avatar Côme Chilliet

Merge branch '6059-enable-totp-second-factor' into '1.4-dev'

Resolve "Enable TOTP second factor"

See merge request fusiondirectory/fd!732
parents 7a1ed3f3 fca572ea
......@@ -8,6 +8,7 @@
<div id="window-div">
<form action="" method="post" id="loginform" name="loginform">
<div style="width: 0; height: 0; overflow: hidden;"><input type="submit" name="default_submit_hidden_button"/></div>
{$msg_dialogs}
<div id="window-titlebar">
......
......@@ -24,7 +24,7 @@
class LoginPost extends LoginMethod
{
/*! \brief List of second factor methods, may be dynamic later */
static $secondFactorMethods = ['SecondFactorWebAuthn','SecondFactorTotp'];
static $secondFactorMethods = ['SecondFactorWebAuthn','SecondFactorTotp','SecondFactorRecoveryCode'];
/*! \brief Displayed name */
static function getLabel ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment