lundi 5 juin 2017

Laravel Three State Login Attempt

As default Laravel Login attempt method returns bool but I want to modify it and getting another result if user exists but user's status is passive. Also I don't want to write any code in laravel framework.

Basically I just want to override SessionGuard::attempt() and AuthenticatesUsers::login() methods.

How can I achive this.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire