88 fixed changePassword request data

merge-requests/96/head
Artem.Arefev 5 years ago
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…
Cancel
Save