[GH-ISSUE #645] "requireEmailVerification" options not working if sign in using username plugin #8356

Closed
opened 2026-04-13 03:25:38 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @rizkraf on GitHub (Nov 24, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/645

Is your feature request related to a problem? Please describe.
I am currently implementing and using a username plugin for authentication, but if the email is not currently verified, it doesn't return error or send the verification email when requireEmailVerification is true

Describe the solution you'd like
Prevent user to sign if requireEmailVerification option is true and user doesn't verified the email in username plugin

Originally created by @rizkraf on GitHub (Nov 24, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/645 **Is your feature request related to a problem? Please describe.** I am currently implementing and using a username plugin for authentication, but if the email is not currently verified, it doesn't return error or send the verification email when `requireEmailVerification` is `true` **Describe the solution you'd like** Prevent user to sign if `requireEmailVerification` option is `true` and user doesn't verified the email in username plugin
GiteaMirror added the locked label 2026-04-13 03:25:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8356