Saturday, April 15, 2017

How to create custom authentication with Laravel on an existing default authentication

I'm curently completing my job, but my client is requested more feature on managing users, like suspending an account, or freezing an account, I'm very sure it can be done easily with this : https://laravel.com/docs/5.4/authentication#authenticating-users, but I'm already using default php artisan make:auth Authentication. My question is, It's posible to add more check while user logging in like, if active == true or something like that? Thanks!



via Rizal Fakhri

Advertisement