mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix documentation
This commit is contained in:
@@ -204,7 +204,8 @@ export class MyCustomLogin {
|
|||||||
|
|
||||||
// check if the username is in the blacklist
|
// check if the username is in the blacklist
|
||||||
if (values.controls['username'].value === 'invalidUsername') {
|
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();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user