-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
approvedIssue approved for developmentIssue approved for developmentin-progressWork is in progressWork is in progresstriagedIssue has been triagedIssue has been triaged
Description
The POST /register endpoint does not validate email addresses. Users can submit forms with invalid emails like 'notanemail' or empty strings. The validateEmail function exists in src/utils/validation.js but is imported and never used in the route handler.
Steps to reproduce:
- POST /register with body: { "email": "notanemail", "name": "Test" }
- Response is 201 Created — should be 400 Bad Request
Expected: Return 400 with error message when email is invalid.
Actual: Accepts any string as email.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
approvedIssue approved for developmentIssue approved for developmentin-progressWork is in progressWork is in progresstriagedIssue has been triagedIssue has been triaged