remove already commented code

This commit is contained in:
Uwe Steinmann 2025-10-01 09:55:30 +02:00
parent 8a78f8ab66
commit 244d483cf4

View File

@ -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");