mirror of
https://gitlab.com/nekoya/web.git
synced 2024-12-22 14:35:01 +01:00
index.js - Redirect Register errors to custom .ejs
This commit is contained in:
parent
db8e988c91
commit
b00ab551ac
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue