email verification token not storing in table

For whatever reason when a new user signs up on my application, the email verification token sent to the user is not being stored in the database. If a user does password reset it stores this token just fine. I am not sure when or if it ever worked properly but I am certain that the table is hooked up correct as there are other better-auth endpoints that work as intended.

I can provide any code needed to fix this.
Solution
@Sean I just opened pull request https://github.com/better-auth/better-auth/pull/3912 that change that behavior and introduce displayUsernameValidator that is disconnected of usernameValidator
GitHub
fix(username): remove normalize transform for displayUsername
feat(username): add displayUsernameValidator
This pull request restores the expected behavior of the username plugin.
Before:
It was no...
Was this page helpful?