-
Notifications
You must be signed in to change notification settings - Fork 1
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
Server should verify license number is valid on user registration #60
Comments
The licenseNumber should be a required field |
francisli
pushed a commit
that referenced
this issue
Jun 5, 2024
* verify license number on register api * adjusted user test for licenseNumber verification * change invite nodemailer test due to inconsistent nodemailer result * error response added to license for user register * Validate all fields and able to return compiled list of errors * fixed and added test to validate other user registration data * fixed lint issue * - added citext postgresql extension to prisma for case insensitive email field - moved zod user schema to user object - remove repeated parse and used error list directly returned from zod parse.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's use the helper that Sammy wrote to ensure that the licenseNumber passed in during user registration is valid/active and store that data in the User object as well.
The text was updated successfully, but these errors were encountered: