Skip to content

Commit f4a9652

Browse files
committed
fix: remove errorbag check to allow login after invalid credentials
1 parent caf9ef5 commit f4a9652

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Filament/Pages/Login.php

-5
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ public function authenticate(): null|TwoFactorAuthResponse|LoginResponse
1818
{
1919
$this->handleRateLimiting();
2020

21-
// Stop execution if there are validation errors
22-
if ($this->getErrorBag()->isNotEmpty()) {
23-
return null;
24-
}
25-
2621
$data = $this->form->getState();
2722
$credentials = $this->getCredentialsFromFormData($data);
2823
$remember = $data['remember'] ?? false;

0 commit comments

Comments
 (0)