mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Made form check more restrictive.
This commit is contained in:
		@@ -28,7 +28,7 @@ ComunicWeb.common.formChecker = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        //TextInput
 | 
					        //TextInput
 | 
				
			||||||
        if(inputType == "text"){
 | 
					        if(inputType == "text"){
 | 
				
			||||||
            inputOK = (input.value == "" ? false:true);
 | 
					            inputOK = (input.value.length < 3 ? false:true);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //MailInput
 | 
					        //MailInput
 | 
				
			||||||
@@ -38,7 +38,7 @@ ComunicWeb.common.formChecker = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        //Password input
 | 
					        //Password input
 | 
				
			||||||
        else if(inputType == "password"){
 | 
					        else if(inputType == "password"){
 | 
				
			||||||
            inputOK = (input.value == "" ? false:true);
 | 
					            inputOK = (input.value.length < 3 ? false:true);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //Unsupported input type
 | 
					        //Unsupported input type
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user