webaccess: Fix syntax error (missing close curly brace)

Somehow I introduced this bug in commit
2bc26b8ef8 but never noticed.
pull/4305/head
Richard Hansen 2020-09-15 16:02:45 -04:00 committed by John McLear
parent d2773609d1
commit e20731cb12
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ exports.checkAccess = (req, res, next) => {
hooks.aCallFirst('authorize', {req, res, next, resource: req.path}, hookResultMangle((ok) => {
if (ok) return next();
return fail();
));
}));
};
/* Authentication OR authorization failed. */