1 month ago

how to add another field like email verified to user

Posted 1 month ago by dru

I would like to add another field that if is not validated by me, the user can't log in and also he has to verify his email.

So I added a another field to the user table called: verifiedUserAt

I know there is a way to always check if the user has verified his email, but how can I also add this? would it be recommended if I added along the verified email?

making a new middleware?

Please sign in or create an account to participate in this conversation.