From 8901261ec9eedf946e600f4c4361cfc6bd3acb9c Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 26 Feb 2019 09:18:32 +0000 Subject: [PATCH] Update login.component.md --- docs/core/login.component.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); } }