Fix documentation

This commit is contained in:
mauriziovitale84 2016-09-07 12:12:54 +01:00
parent f45b0b21a7
commit 19f66fdb64

View File

@ -204,7 +204,8 @@ export class MyCustomLogin {
// check if the username is in the blacklist
if (values.controls['username'].value === 'invalidUsername') {
this.alfrescologin.addCustomError('username', 'the username is in blacklist');
this.alfrescologin.addCustomFormError('username', 'the
username is in blacklist');
event.preventDefault();
}
}