validar email correctamente
This commit is contained in:
		
							parent
							
								
									2e4c47dff5
								
							
						
					
					
						commit
						fe714b9eaa
					
				| 
						 | 
				
			
			@ -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],
 | 
			
		||||
  });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue