Revert "QuickFix: 2FA - App specific password"

This reverts commit dc4eac2742.
This commit is contained in:
Hypolite Petovan 2025-01-04 20:50:20 -05:00
parent ef9c2cb223
commit 101f0e8181

View file

@ -77,8 +77,7 @@ class AppSpecific extends BaseSettings
$this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password'));
} else {
$this->appSpecificPassword = AppSpecificPassword::generateForUser($this->session->getLocalUserId(), $request['description'] ?? '');
$this->systemMessages->addInfo($this->t('New app-specific password generated: %s', $this->appSpecificPassword['plaintext_password']));
$this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password'));
$this->systemMessages->addInfo($this->t('New app-specific password generated.'));
}
break;