88 fixed changePassword request data

This commit is contained in:
Artem.Arefev 2019-05-17 04:35:33 +04:00
parent fbd618a6d0
commit 64357c2508

View File

@ -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() {