fix
This commit is contained in:
parent
1e837a6a4b
commit
59d11b3d4e
|
@ -148,8 +148,8 @@ function resetPassword() {
|
|||
.then(response => {
|
||||
|
||||
if (response.ok ) {
|
||||
console.log(response.data);
|
||||
document.getElementById('successMessage').innerText = response.data.msg;
|
||||
console.log(response);
|
||||
document.getElementById('successMessage').innerText = JSON.stringify(response);
|
||||
} else {
|
||||
console.error('Password reset failed');
|
||||
document.getElementById('errorMessage').innerText = 'Password reset failed. Please try again.';
|
||||
|
|
Loading…
Reference in New Issue
Block a user