Skip to content

Commit

Permalink
Replace Auth Failed Message for User Account Missing (phpvms#1799)
Browse files Browse the repository at this point in the history
  • Loading branch information
BossOfGames authored Apr 7, 2024
1 parent 187f83c commit 8554a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8554a3b

Please sign in to comment.