Skip to content

Commit

Permalink
comment mask
Browse files Browse the repository at this point in the history
  • Loading branch information
mayalb committed Sep 19, 2023
1 parent 11f7523 commit 8d95352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/validators/src/UserValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export function validateSignup(payload: TeacherSignupData) {
result.errors.username = `UsernameMissing`;
}

//MASQUER VALIDATION MAIL

if (!payload || typeof payload.email !== 'string' ||
!validator.isEmail(payload.email)) {
result.success = false;
Expand Down

0 comments on commit 8d95352

Please sign in to comment.