diff --git a/routes/index.js b/routes/index.js index 030d04e..3934d8d 100644 --- a/routes/index.js +++ b/routes/index.js @@ -39,7 +39,7 @@ router.route("/register") if (data == 200) { res.render("pages/register-verification-sent"); } else { - res.redirect("/register"); + res.render("pages/register-error") } }); });