fix: missing early return

isekai-main
Julian Lam 3 years ago
parent 936562c3cb
commit ad63517511

@ -272,7 +272,7 @@ Users.confirmEmail = async (req, res) => {
]);
if (!canManage) {
helpers.notAllowed(req, res);
return helpers.notAllowed(req, res);
}
if (pending) { // has active confirmation request

Loading…
Cancel
Save