mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
webaccess: Fix syntax error (missing close curly brace)
Somehow I introduced this bug in commit
2bc26b8ef8
but never noticed.
This commit is contained in:
parent
d2773609d1
commit
e20731cb12
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ exports.checkAccess = (req, res, next) => {
|
||||||
hooks.aCallFirst('authorize', {req, res, next, resource: req.path}, hookResultMangle((ok) => {
|
hooks.aCallFirst('authorize', {req, res, next, resource: req.path}, hookResultMangle((ok) => {
|
||||||
if (ok) return next();
|
if (ok) return next();
|
||||||
return fail();
|
return fail();
|
||||||
));
|
}));
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Authentication OR authorization failed. */
|
/* Authentication OR authorization failed. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue