Good morning, I decided to disable users, now I would like to know how I can allow user login only enabled, in table users I added a column called disable, if user disable is false allows login, if not redirects to the screen Login, I'll be waiting.
Good morning, I decided to disable users, now I would like to know how I can allow user login only enabled, in table users I added a column called disable, if user disable is false allows login, if not redirects to the screen Login, I'll be waiting.
I advise you to use softDelete
of Laravel to disable users. There you do not need to change the authentication method. and even for you to "disable" users is simpler.
Ref: link