validar email correctamente

This commit is contained in:
Eduardo Quiros 2021-07-11 23:32:23 -06:00
parent 2e4c47dff5
commit fe714b9eaa
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 1 additions and 1 deletions

View File

@ -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],
});