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",
|
url:"/api/1.0/users/changePassword",
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
data: JSON.stringify({
|
data: JSON.stringify({
|
||||||
"oldPassword": document.getElementById("oldPassword").value,
|
"oldPassword": oldPassword,
|
||||||
"password": document.getElementById("password").value,
|
"password": password,
|
||||||
"confirmPassword": document.getElementById("confirmPassword").value,
|
"confirmPassword": confirmPassword,
|
||||||
}),
|
}),
|
||||||
method: "POST",
|
method: "POST",
|
||||||
success: function() {
|
success: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user