diff --git a/fs_template/reset_confirm.tpl b/fs_template/reset_confirm.tpl index c63a5ae8..ceb896ce 100644 --- a/fs_template/reset_confirm.tpl +++ b/fs_template/reset_confirm.tpl @@ -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.';