fix: register templte bug

This commit is contained in:
HRG @ SCExC 2025-01-12 10:13:44 -05:00
parent 38b9c0e538
commit bf37f91a34
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ app.post("/register", async (req, res) => {
req.session.userId = userId;
res.redirect("/workshop");
} catch (e) {
res.render("auth/register.html", { error: e });
return res.send(eta.render("auth/register", { error: e }));
}
});