activate or deactivate users
Hello, I am learning filament, could you help me, I am making an application, I have implemented the roles and permissions in the users table, add a status field for 1 if it is active and 0 if it is inactive, I need to validate the user to also look at this field to Whether or not the user can enter the application, I thank you for your collaboration.
3 Replies
I guess that's what you need, https://filamentphp.com/docs/3.x/panels/users#authorizing-access-to-the-panel, just change the condition to match your need
thank you
you're welcome