mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-09 06:06:13 +02:00
webaccess: Fix syntax error (missing close curly brace)
Somehow I introduced this bug in commit 2bc26b8ef89ea0a5b447ad12586b694c6a830d4e but never noticed.
This commit is contained in:
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…
x
Reference in New Issue
Block a user