mirror of
https://github.com/friendica/friendica
synced 2024-11-17 23:43:40 +00:00
QuickFix: 2FA - App specific password
This commit is contained in:
parent
6417d75259
commit
dc4eac2742
1 changed files with 2 additions and 1 deletions
|
@ -77,7 +77,8 @@ 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.'));
|
||||
$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'));
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue