https://supertokens.com/ logo
Title
n

Noodles

02/17/2023, 3:39 AM
Is there any way to manually change a user's email verification status? I saw the docs weren't written yet so I thought I'd ask here for guidance
r

rp

02/17/2023, 5:49 AM
hey @Noodles there is. Which backedn SDK are you using? For example in node, you can see this function: https://supertokens.com/docs/nodejs/modules/recipe_emailverification.html#unverifyEmail-1 you can also unverify a user's email via the user management dashboard that we have.
n

Noodles

02/17/2023, 6:05 AM
I'm using node, is there a way to manually verify a user's email without them having to use a link?
r

rp

02/17/2023, 7:07 AM
Yea. Call the createEmailVerificationToken function to get the token, and then pass it to the verifyEmailUsingToken function to verify the user's email
n

Noodles

02/17/2023, 7:33 AM
Oh nice, thanks!