From 862cdebfae94046ecfe828e7dea7335f3bc1e47f Mon Sep 17 00:00:00 2001 From: "eoghan.conlon" Date: Thu, 27 Jul 2023 00:49:37 +0100 Subject: [PATCH] [Pass-reset] Changing from console log to alert for password don't match error message --- src/PassReset/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/PassReset/index.html b/src/PassReset/index.html index 963cf44..3e29cc7 100644 --- a/src/PassReset/index.html +++ b/src/PassReset/index.html @@ -34,11 +34,10 @@ const newPWConfirm = form.newPWConfirm.value; if (newPW === newPWConfirm){ let obj = { "user": user , "pass": pass , "field": field, "value": newPW } - alert("form submitted"); + alert("Form submitted"); } else { - console.log("New password confirmation doesn't match"); + alert("New passwords doesn't match"); } - console.log(user); } \ No newline at end of file