In Laravel documentation there is simple Authentication with condition
Auth::attempt(array('email' => $email, 'password' => $password, 'active' => 1))
In my app User can have one of few statuses. I want to authenticate AGAINST one of those: status != '99'.
Is there a way to achieve this within this request or some extra logic is required before Auth attempt is fired?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire