In EmailOTP Plugin, the user is notVerified after signIn.
Once the signIn is done via OTP, the user's isVerified column still says false. The user should be marked as verified on signIn.
4 Replies
You mean emailVerified field?
Oh, yes!
not sure which version you're in but it should set the email verified if it's already not
GitHub
better-auth/packages/better-auth/src/plugins/email-otp/index.ts at ...
The most comprehensive authentication framework for TypeScript - better-auth/better-auth