Answer the question
In order to leave comments, you need to log in
How to specify an additional condition for authentication?
Good day.
New to Laravel.
How can it be implemented so that when logging in, not only the user's email and password are checked, but also the custom status field. And based on these 3 parameters, make a decision to allow entry.
Answer the question
In order to leave comments, you need to log in
This is described directly in the documentation:
https://laravel.com/docs/9.x/authentication#specif...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question