laravel / fortify

Backend controllers and scaffolding for Laravel authentication.
https://laravel.com/docs/fortify
MIT License
1.61k stars 294 forks source link

Specifying Additional Conditions #153

Closed vwasteels closed 3 years ago

vwasteels commented 3 years ago

Is there a way to add condition for the login like an active boolean ?

I am refering to something like this : https://laravel.com/docs/8.x/authentication#specifying-additional-conditions

thanks a lot

Tarzis commented 3 years ago

You can use the Fortify::authenticateUsing() method for this.

Documentation: https://github.com/laravel/fortify#customizing-user-authentication

vwasteels commented 3 years ago

Thanks !!