fix
parent
570d8ad769
commit
699c8e3034
|
@ -238,7 +238,7 @@
|
|||
}
|
||||
|
||||
function isHostname(name){
|
||||
var reg=/^(?![0-9]+$)[0-9A-Za-z]{4,16}$/;
|
||||
var reg=/^[A-Za-z0-9]+$/;
|
||||
return reg.test(name)
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -166,7 +166,7 @@
|
|||
})
|
||||
|
||||
function isPassword(name){
|
||||
var reg=/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}$/;
|
||||
var reg=/^[A-Za-z0-9]+$/;
|
||||
return reg.test(name)
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue