Unverified Commit fca572ea authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:sparkles: feat(2fa) Enable recovery code and fix form submit

issue #6059
Showing with 2 additions and 1 deletion
+2 -1
......@@ -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 ()
......
Supports Markdown
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