Open you FortifyServiceProvider.php at App/Providers.
Update your boot method as such
public function boot()
{
...
CustomLogin::handle();
}
Copy the contents of CustomLogin.php in this gist to App\Actions\Auth\CustomLogin
And in the same directory create CustomAttemptToAuthenticate.php with the contents of this gist.
Modify the handle method of CustomAttemptToAuthenticate.php as you deem fit.
Happy Hacking! 𝨾