diff --git a/src/recovery/reset.html b/src/recovery/reset.html
index 535d88e..f4734cd 100644
--- a/src/recovery/reset.html
+++ b/src/recovery/reset.html
@@ -38,6 +38,14 @@
method: 'POST',
body: JSON.stringify(object),
mode: "cors"
+ }).then(res => {
+ if(res.status === 200){
+ return res.json();
+ } else if (res.status === 500){
+ document.getElementById('formStatus').innerHTML = "Failure";
+ } else {
+ document.getElementById('formStatus').innerHTML = "Failure: Failed to communicate to server";
+ }
})
} else {
document.getElementById('formStatus').innerHTML = "Failure: Passwords don't match";