Skip to content

Node.js based forum software built for the modern web

fixed password error message

psychobunny6a4bcf8ab88f
diff --git a/public/src/forum/register.js b/public/src/forum/register.js
index 8899fd161a..a332aa7c6f 100644
--- a/public/src/forum/register.js
+++ b/public/src/forum/register.js
@@ -106,7 +106,7 @@ define('forum/register', function() {
if (password.length < config.minimumPasswordLength) {
showError(password_notify, '[[user:change_password_error_length]]');
} else if (!utils.isPasswordValid(password)) {
- showError(password_notify, '[[user:change_password_error_]]');
+ showError(password_notify, '[[user:change_password_error]]');
} else {
showSuccess(password_notify, successIcon);
}