From 8d2c2253ea6f5c60801e776c80d9e1d861850a7f Mon Sep 17 00:00:00 2001 From: Cesar Molina Date: Mon, 27 Jan 2025 16:16:57 -0500 Subject: [PATCH] Improve: add fire failed event at once (#54376) Co-authored-by: cesar molina --- src/Illuminate/Auth/SessionGuard.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Illuminate/Auth/SessionGuard.php b/src/Illuminate/Auth/SessionGuard.php index 3e559f296b54..4aede1ae6767 100644 --- a/src/Illuminate/Auth/SessionGuard.php +++ b/src/Illuminate/Auth/SessionGuard.php @@ -261,6 +261,8 @@ public function once(array $credentials = []) return true; } + $this->fireFailedEvent($this->lastAttempted, $credentials); + return false; }