fix
This commit is contained in:
parent
ed68e274e2
commit
358e33c6eb
|
@ -147,15 +147,11 @@ function resetPassword() {
|
|||
})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
|
||||
if (data.code == 200 ) {
|
||||
|
||||
document.getElementById('successMessage').innerText = JSON.stringify(data);
|
||||
} else {
|
||||
console.error('Password reset failed');
|
||||
document.getElementById('errorMessage').innerText = JSON.stringify(data);
|
||||
}
|
||||
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error:', error);
|
||||
|
|
Loading…
Reference in New Issue
Block a user