#924788 by hunmonk: Remove 30 char limit for password.
authorChad Phillips
Tue, 28 Sep 2010 13:35:25 +0000 (13:35 +0000)
committerChad Phillips
Tue, 28 Sep 2010 13:35:25 +0000 (13:35 +0000)
logintoboggan.module

index 0af2099..f70ae1c 100755 (executable)
@@ -1064,7 +1064,6 @@ function logintoboggan_validate_pass($pass) {
                    $pass)) {
     return t('The password contains an illegal character.');
   }
-  if (strlen($pass) > 30) return t('The password is too long: it must be less than 30 characters.');
   $min_pass_length = variable_get('logintoboggan_minimum_password_length', 0);
   if ($min_pass_length && strlen($pass) < $min_pass_length) return t("The password is too short: it must be at least %min_length characters.", array('%min_length' => $min_pass_length));
 }