Created
February 11, 2025 11:34
-
-
Save jeffersongoncalves/495592cb385945252a46510cb45bdabd to your computer and use it in GitHub Desktop.
Add status verification in Login FilamentPHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Filament\Pages\Auth; | |
class Login extends \Filament\Pages\Auth\Login | |
{ | |
protected function getCredentialsFromFormData(array $data): array | |
{ | |
return [ | |
'email' => $data['email'], | |
'password' => $data['password'], | |
'status' => true, | |
]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment