mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00:00
Issue 9153 Use "info" instead of "notice" on successful operations
This commit is contained in:
parent
b530ef709d
commit
f56e765158
10 changed files with 17 additions and 17 deletions
|
@ -63,7 +63,7 @@ class Recovery extends BaseSettings
|
|||
|
||||
if ($_POST['action'] == 'regenerate') {
|
||||
RecoveryCode::regenerateForUser(local_user());
|
||||
notice(DI::l10n()->t('New recovery codes successfully generated.'));
|
||||
info(DI::l10n()->t('New recovery codes successfully generated.'));
|
||||
DI::baseUrl()->redirect('settings/2fa/recovery?t=' . self::getFormSecurityToken('settings_2fa_password'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue