Merge pull request #3880 from bibz0r/master

This commit is contained in:
Steve Beaver 2017-11-30 17:48:24 -05:00
commit 79330f5d0a

View File

@ -215,8 +215,8 @@ if ($_POST['save']) {
$input_errors[] = gettext("The username contains invalid characters.");
}
if (strlen($_POST['usernamefld']) > 16) {
$input_errors[] = gettext("The username is longer than 16 characters.");
if (strlen($_POST['usernamefld']) > 32) {
$input_errors[] = gettext("The username is longer than 32 characters.");
}
if (($_POST['passwordfld1']) && ($_POST['passwordfld1'] != $_POST['passwordfld2'])) {