From 101f0e8181f28e01af355a4c77481d9fca81ccbe Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 4 Jan 2025 20:50:20 -0500 Subject: [PATCH] Revert "QuickFix: 2FA - App specific password" This reverts commit dc4eac2742c09199e0a8a6a85c0129a7097e4a9d. --- src/Module/Settings/TwoFactor/AppSpecific.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Module/Settings/TwoFactor/AppSpecific.php b/src/Module/Settings/TwoFactor/AppSpecific.php index 3cf7062a4b..c10bf8d680 100644 --- a/src/Module/Settings/TwoFactor/AppSpecific.php +++ b/src/Module/Settings/TwoFactor/AppSpecific.php @@ -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;