Merge branch '1.7' into php8

This commit is contained in:
xiaomlove
2022-12-08 21:01:25 +08:00
13 changed files with 81 additions and 48 deletions

View File

@@ -3962,7 +3962,7 @@ function validusername($username)
if (strpos($allowedchars, $username[$i]) === false)
return false;
if ($length < 4 || $length > 20) {
if ($length < 3 || $length > 20) {
return false;
}