Skip to content

Commit

Permalink
fix: missing return for #9217
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Jan 24, 2021
1 parent b2b1450 commit 27cae0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
}
Expand Down

0 comments on commit 27cae0d

Please sign in to comment.