Changed client end validator for email

This commit is contained in:
piratefinn 2017-06-12 16:42:28 +01:00
parent 845b166364
commit 7620b1429a

View file

@ -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 );
}
);
}