From fe714b9eaa6444bfb5422a7c0b247484f6f8de07 Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Sun, 11 Jul 2021 23:32:23 -0600 Subject: [PATCH] validar email correctamente --- src/main/webapp/app/login/login.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/app/login/login.component.ts b/src/main/webapp/app/login/login.component.ts index 6c3358a..1ae75e2 100644 --- a/src/main/webapp/app/login/login.component.ts +++ b/src/main/webapp/app/login/login.component.ts @@ -27,7 +27,7 @@ export class LoginComponent implements OnInit, AfterViewInit { errorUserExists = false; loginForm = this.fb.group({ - username: [null, [Validators.required, Validators.email, Validators.minLength(5), Validators.maxLength(254)]], + username: [null, [Validators.required, Validators.email, Validators.maxLength(254)]], password: [null, [Validators.required, Validators.minLength(8), Validators.maxLength(50)]], rememberMe: [false], });