mirror of
https://github.com/friendica/friendica
synced 2025-04-22 13:50:12 +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
|
@ -57,7 +57,7 @@ class Recovery extends BaseModule
|
|||
if (RecoveryCode::existsForUser(local_user(), $recovery_code)) {
|
||||
RecoveryCode::markUsedForUser(local_user(), $recovery_code);
|
||||
Session::set('2fa', true);
|
||||
notice(DI::l10n()->t('Remaining recovery codes: %d', RecoveryCode::countValidForUser(local_user())));
|
||||
info(DI::l10n()->t('Remaining recovery codes: %d', RecoveryCode::countValidForUser(local_user())));
|
||||
|
||||
DI::auth()->setForUser($a, $a->user, true, true);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue