Fixed another hard-coded string

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-06-20 15:22:27 +01:00
parent 69cf697aa3
commit 9594596b8a
2 changed files with 2 additions and 2 deletions

View file

@ -439,7 +439,7 @@ class LoginController extends Controller
$user->saveQuietly();
$request->session()->put('2fa_authed', $user->id);
return redirect()->route('home')->with('success', 'You are logged in!');
return redirect()->route('home')->with('success', trans('auth/general.login_success'));
}
return redirect()->route('two-factor')->with('error', trans('auth/message.two_factor.invalid_code'));

View file

@ -15,6 +15,6 @@ return [
'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.',
'login_success' => 'You are logged in!.',
];