Update login.component.md

This commit is contained in:
Denys Vuika
2019-02-26 09:18:32 +00:00
committed by GitHub
parent 0aaa6bea16
commit 8901261ec9

View File

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