From aecaabcc6217c60aa390f8790f3f01bb2f17e157 Mon Sep 17 00:00:00 2001 From: "eoghan.conlon" Date: Sat, 29 Jul 2023 19:04:00 +0100 Subject: [PATCH] [Sign-up_script] Fix. Remove unused parameter --- src/PassReset/formHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }