Changed client end validator for email
This commit is contained in:
parent
845b166364
commit
7620b1429a
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,7 @@ export class RegisterComponent {
|
|||
this.signupForm = new ValidationManager({
|
||||
token: 'required',
|
||||
usertype: 'required',
|
||||
email: 'required',
|
||||
email: 'required|email',
|
||||
password: 'required',
|
||||
confirmpassword: 'required|equalTo:password'
|
||||
});
|
||||
|
@ -114,6 +114,7 @@ export class RegisterComponent {
|
|||
},
|
||||
error => {
|
||||
console.log( error._body );
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Reference in a new issue