Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Feb 5, 2024
1 parent b10f27c commit 667027b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/validation/validators/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,5 @@ export const EmailValidator: CustomValidator = (email, helper) => {
return email;
}

// return helper.message({custom:'Email is not valid'});
return helper.message({custom:'redirectTo'});
return helper.message({custom:'Email is not valid'});
};

0 comments on commit 667027b

Please sign in to comment.