Answer the question
In order to leave comments, you need to log in
How to stick a condition under which the user will be able to log in to the site?
Good evening, looking for hints...
There is authorization through Login and Password, it authorizes all users, but I need to make it so that the user can log in, provided that the active column in the users table is "1".
active = 0 (Do not authorize)
active = 1 (Authorize)
What is the best way to implement this? Will Guard help here?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question