mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 10:00:41 +00:00
remove already commented code
This commit is contained in:
parent
8a78f8ab66
commit
244d483cf4
|
|
@ -66,7 +66,6 @@ class SeedDMS_Controller_Login extends SeedDMS_Controller_Common {
|
|||
|
||||
if($settings->_enable2FactorAuthentication) {
|
||||
if($user->getSecret()) {
|
||||
// $tfa = new \RobThree\Auth\TwoFactorAuth('SeedDMS');
|
||||
$tfa = new \RobThree\Auth\TwoFactorAuth(new \RobThree\Auth\Providers\Qr\BaconQrCodeProvider());
|
||||
if($tfa->verifyCode($user->getSecret(), $_POST['twofactauth']) !== true) {
|
||||
$this->setErrorMsg("login_error_text");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user