fix: missing return for #9217

v1.18.x
Julian Lam 4 years ago
parent b2b1450e5d
commit 27cae0d5d8

@ -152,7 +152,7 @@ Controllers.register = async function (req, res, next) {
try {
await user.verifyInvitation(req.query);
} catch (e) {
res.render('400', {
return res.render('400', {
error: e.message,
});
}

Loading…
Cancel
Save