mirror of
https://github.com/friendica/friendica
synced 2025-01-10 16:04:48 +00:00
Revert "QuickFix: 2FA - App specific password"
This reverts commit dc4eac2742
.
This commit is contained in:
parent
ef9c2cb223
commit
101f0e8181
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue