webaccess: Fix syntax error (missing close curly brace)
Somehow I introduced this bug in commit
2bc26b8ef8
but never noticed.
pull/4305/head
parent
d2773609d1
commit
e20731cb12
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue