mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix documentation
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user