mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update Login.php
This commit is contained in:
@@ -154,7 +154,7 @@ class Login extends SimplePage
|
||||
*/
|
||||
protected function fireFailedEvent(Guard $guard, ?Authenticatable $user, #[SensitiveParameter] array $credentials): void
|
||||
{
|
||||
event(app(Failed::class, ['guard' => $guard->name, 'user' => $user, 'credentials' => $credentials]));
|
||||
event(app(Failed::class, ['guard' => property_exists($guard, 'name') ? $guard->name : '', 'user' => $user, 'credentials' => $credentials]));
|
||||
}
|
||||
|
||||
protected function throwFailureValidationException(): never
|
||||
|
||||
Reference in New Issue
Block a user