diff --git a/register.php b/register.php index 7c8cdf7..b54a2b2 100644 --- a/register.php +++ b/register.php @@ -65,8 +65,8 @@ if (empty($_POST) === false) { if (strlen($_POST['password']) < 6) { $errors[] = 'Your password must be at least 6 characters.'; } - if (strlen($_POST['password']) > 100) { - $errors[] = 'Your password must be less than 100 characters.'; + if (strlen($_POST['password']) > 29) { + $errors[] = 'Your password must be less than 30 characters.'; } if ($_POST['password'] !== $_POST['password_again']) { $errors[] = 'Your passwords do not match.';