diff --git a/src/PassReset/formHandler.js b/src/PassReset/formHandler.js index d385408..9ac1bba 100644 --- a/src/PassReset/formHandler.js +++ b/src/PassReset/formHandler.js @@ -20,7 +20,7 @@ function formHandler(listener){ } else { document.getElementById('formStatus').innerHTML = "Failure: Failed to communicate to server"; } - }).catch(error => document.getElementById('formStatus').innerHTML = "Please try again"); + }).catch(() => document.getElementById('formStatus').innerHTML = "Please try again"); } else { document.getElementById('formStatus').innerHTML = "Failure: new passwords don't match"; }