Devyn okay'd having the email error messages be the same.
This commit is contained in:
parent
fbcf6d6155
commit
5d26e42223
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ function defineGlobalNameRules() {
|
|||
* @summary Define global rules related to email addresses
|
||||
*/
|
||||
function defineGlobalEmailRules() {
|
||||
defineRule(globalRules.EMAIL_ADDRESS_REQUIRED, required(errorMessages.EMAIL_ADDRESS_REQUIRED));
|
||||
defineRule(globalRules.EMAIL_ADDRESS_REQUIRED, required(errorMessages.EMAIL_ADDRESS_FORMAT));
|
||||
defineRule(
|
||||
globalRules.EMAIL_ADDRESS_FORMAT,
|
||||
regex(
|
||||
|
|
|
|||
Loading…
Reference in a new issue