88 fixed changePassword request data
This commit is contained in:
parent
fbd618a6d0
commit
64357c2508
@ -17,9 +17,9 @@ function changePassword() {
|
||||
url:"/api/1.0/users/changePassword",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: JSON.stringify({
|
||||
"oldPassword": document.getElementById("oldPassword").value,
|
||||
"password": document.getElementById("password").value,
|
||||
"confirmPassword": document.getElementById("confirmPassword").value,
|
||||
"oldPassword": oldPassword,
|
||||
"password": password,
|
||||
"confirmPassword": confirmPassword,
|
||||
}),
|
||||
method: "POST",
|
||||
success: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user