DEV Community


Discussion on: How to Disable Users from Login in Laravel

bdelespierre profile image
Benjamin Delespierre

Thank for the article. I find the status property very vague and indescriptive. Wouldn't it be better to have a is_banned flag?

techtoolindia profile image
TechTool India Author

Thanks for suggestion. Yes you can use any flag which we can validate in middleware.