summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Phillips2010-09-28 13:35:40 (GMT)
committer Chad Phillips2010-09-28 13:35:40 (GMT)
commitb91b7b67dccbf6eb1e41a3ffeb13109626179501 (patch)
tree1af4a77d6bd496f66db2889be843eaa4bb8e2b83
parent8d2d7e9a9f3f1f884d41e06ad3f08efad6f21d5d (diff)
#924788 by hunmonk: Remove 30 char limit for password.
-rwxr-xr-xlogintoboggan.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/logintoboggan.module b/logintoboggan.module
index 55059f2..38471c8 100755
--- a/logintoboggan.module
+++ b/logintoboggan.module
@@ -783,7 +783,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('toboggan_min_pass_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));
}