-
-
Couldn't load subscription status.
- Fork 1.8k
Add missing email validation #5593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing email validation #5593
Conversation
|
@ahmedriad1 is attempting to deploy a commit to the better-auth Team on Vercel. A member of the Team first needs to authorize it. |
better-auth
@better-auth/cli
@better-auth/core
@better-auth/expo
@better-auth/sso
@better-auth/stripe
@better-auth/telemetry
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 3 files
|
@ahmedriad1 make sure to run |
|
@ping-maxwell Done |
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Screen.Recording.2025-10-26.at.5.56.39.PM.mov
I found out creating invites using the
organizationplugin doesn't validate emails agentset-ai/agentset#34I looked more into the codebase and found it's missing in other places too. So I made this PR that does the following:
organizationplugin)adminplugin)BASE_ERROR_CODES(email-otpplugin)Summary by cubic
Add email validation to organization invites and admin user creation, and standardize email handling and errors in email-otp. Prevents invalid invites/sign-ups and ensures consistent error messages.
Bug Fixes
Refactors