diff options
-rw-r--r-- | phpBB/adm/style/acp_users_overview.html | 2 | ||||
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/style/acp_users_overview.html b/phpBB/adm/style/acp_users_overview.html index 0bcd3d329e..ccff69424c 100644 --- a/phpBB/adm/style/acp_users_overview.html +++ b/phpBB/adm/style/acp_users_overview.html @@ -50,7 +50,7 @@ </dl> <dl> <dt><label for="new_password">{L_NEW_PASSWORD}:</label><br /><span>{L_CHANGE_PASSWORD_EXPLAIN}</span></dt> - <dd><input type="password" id="user_password" name="user_password" value="" /></dd> + <dd><input type="password" id="new_password" name="new_password" value="" /></dd> </dl> <dl> <dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label><br /><span>{L_CONFIRM_PASSWORD_EXPLAIN}</span></dt> diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 81f0433f1a..6ca04eb134 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1400,7 +1400,7 @@ function validate_password($password) foreach ($chars as $char) { if (!preg_match('#' . $char . '#u', $password)) - {var_dump($char, $password); + { return 'INVALID_CHARS'; } } |