jeudi 17 décembre 2015

Laravel 5.1: How to authenticate only active users

I want to add another condition in AuthController but I don't know how to do it.

In my Users table, I have a Active field. If a User has Active == 0, he/she cannot login into the system. I don't know where to add that condition in Laravel 5.1 AuthController.

Please help me with that. Thanks a lot guys!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire