Customer business logic into Login in Filament 3

Hi guis, i hope you'all are great.

I am new in filament and i dont find information about how to custom login logic.

u created the basic or standard login. and in users table i just added a column called "user_status_id" and i only want to user who has 1 value in this column can login in. but if there's 2 or 3 will denie the login and in the login say a personal message, like "account suspended" just in the same way when we write the password wrong. somneone can please send me a guide to do this?

Tahnk you!
Was this page helpful?