diff --git a/docs/core/login.component.md b/docs/core/login.component.md index a8c0870fc3..a7c632d3ae 100644 --- a/docs/core/login.component.md +++ b/docs/core/login.component.md @@ -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(); } }