From 8554a3b15c0c5c0799dc155048c1994afe7352d1 Mon Sep 17 00:00:00 2001 From: Taylor Broad Date: Mon, 8 Apr 2024 00:18:45 +0900 Subject: [PATCH] Replace Auth Failed Message for User Account Missing (#1799) --- app/Http/Controllers/Auth/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 7ec694f7a..6cd4dff94 100755 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -86,7 +86,7 @@ protected function validateLogin(Request $request): void $user = $this->userSvc->findUserByPilotId($value); } catch (PilotIdNotFound $ex) { Log::warning('Error logging in, pilot_id not found, id='.$value); - $fail('Pilot not found'); + $fail(__('auth.failed')); return; }