mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Update login.component.md
This commit is contained in:
@@ -256,8 +256,7 @@ 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.addCustomFormError('username', 'the
|
this.alfrescoLogin.addCustomFormError('username', 'the username is in blacklist');
|
||||||
username is in blacklist');
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user