@@ -, +, @@ function --- koha-tmpl/intranet-tmpl/prog/en/includes/password_check.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/password_check.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/password_check.inc @@ -19,7 +19,7 @@ }, _("Password contains leading and/or trailing spaces")); jQuery.validator.addMethod("password_match", function(value, element){ var new_password_node = $("input[name='" + new_password_node_name + "']:first"); - return this.optional(element) || value == $(new_password_node).val(); + return value == $(new_password_node).val(); }, _("Please enter the same password as above")); [% END %] --