mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Added 2fa translation string
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
077a6949e2
commit
69cf697aa3
|
@ -49,7 +49,7 @@ class CheckForTwoFactor
|
|||
|
||||
// Otherwise make sure they're enrolled and show them the 2FA code screen
|
||||
if ((Auth::user()->two_factor_secret != '') && (Auth::user()->two_factor_enrolled == '1')) {
|
||||
return redirect()->route('two-factor')->with('info', 'Please enter your two-factor authentication code.');
|
||||
return redirect()->route('two-factor')->with('info', trans('auth/general.two_factor_code'));
|
||||
}
|
||||
|
||||
return redirect()->route('two-factor-enroll')->with('success', 'Please enroll a device in two-factor authentication.');
|
||||
|
|
|
@ -14,6 +14,7 @@ return [
|
|||
'username_help_bottom' => 'Your username and email address <em>may</em> be the same, but may not be, depending on your configuration. If you cannot remember your username, contact your administrator. <br><br><strong>Usernames without an associated email address will not be emailed a password reset link.</strong> ',
|
||||
'google_login' => 'Login with Google Workspace',
|
||||
'google_login_failed' => 'Google Login failed, please try again.',
|
||||
'two_factor_code' => 'Please enter your two-factor authentication code.',
|
||||
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue