diff --git a/public/src/forum/register.js b/public/src/forum/register.js
index 89ee708e5a..4af0af93a2 100644
--- a/public/src/forum/register.js
+++ b/public/src/forum/register.js
@@ -31,7 +31,6 @@
function validateEmail() {
if(!emailEl.val()) {
validationError = true;
- //email_notify.hide();
return;
}
@@ -49,7 +48,6 @@
function validateUsername() {
if(!username.val()) {
validationError = true;
- //username_notify.hide();
return;
}
@@ -74,14 +72,11 @@
function validatePassword() {
if(!password.val()){
validationError = true;
- //password_notify.hide();
return;
}
if (password.val().length < config.minimumPasswordLength) {
showError(password_notify, 'Password too short!');
- } else if(password.val().length > config.maximumPasswordLength) {
- showError(password_notify, 'Password too long!');
} else if(!utils.isPasswordValid(password.val())) {
showError(password_notify, 'Invalid password!');
} else {
@@ -99,7 +94,6 @@
function validatePasswordConfirm() {
if(!password.val() || password_notify.hasClass('alert-error')) {
- //password_confirm_notify.hide();
return;
}
diff --git a/public/templates/admin/settings.tpl b/public/templates/admin/settings.tpl
index 2abb800569..c5d85ad578 100644
--- a/public/templates/admin/settings.tpl
+++ b/public/templates/admin/settings.tpl
@@ -59,8 +59,6 @@
Minimum Password Length
- Maximum Password Length
-
diff --git a/public/templates/register.tpl b/public/templates/register.tpl
index 7b50f51566..7cb72b39d3 100644
--- a/public/templates/register.tpl
+++ b/public/templates/register.tpl
@@ -44,7 +44,7 @@
- Your password's length must be {minimumPasswordLength}-{maximumPasswordLength} characters.
+ Your password's length must be at least {minimumPasswordLength} characters.