1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-06-13 00:41:59 +03:00

Extracted text to translation files

Also aligned mfa method delete route to align with others.
This commit is contained in:
Dan Brown
2021-08-08 14:24:44 +01:00
parent 773be963ba
commit f1f59cf086
14 changed files with 104 additions and 128 deletions

View File

@ -81,7 +81,7 @@ class MfaBackupCodesController extends Controller
$loginService->reattemptLoginFor($user);
if ($codeService->countCodesInSet($updatedCodes) < 5) {
$this->showWarningNotification('You have less than 5 backup codes remaining, Please generate and store a new set before you run out of codes to prevent being locked out of your account.');
$this->showWarningNotification(trans('auth.mfa_backup_codes_usage_limit_warning'));
}
return redirect()->intended();