Admins can now change passwords

This commit is contained in:
Ismo Vuorinen
2013-07-17 14:39:33 +03:00
parent f0f1d71c48
commit 59ee192e1d
4 changed files with 67 additions and 0 deletions

View File

@@ -12,6 +12,14 @@ jQuery(document).ready(function($) {
}
});
// Trigger jQuery validation of user password form
$('#user_password').validate({
rules: {
password: "required",
password_again: {
equalTo: "#password"
}
},
submitHandler: function(form) {
form.submit();
}