mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-24 15:51:03 +00:00
Admins can now change passwords
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user