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