Edit README.md via Editor

This commit is contained in:
Flatlogic Bot 2026-08-08 14:38:29 +00:00
parent 7a48570466
commit c78167af3b

View File

@ -242,9 +242,4 @@ The **docker folder** contains a couple of helper scripts:
Afterwards, continue to start your project in the backend directory by running:
`yarn start`
function ensureAdmin(req, res, next) {
if (req.isAuthenticated() && req.user.role === 'admin') {
return next();
}
res.status(403).send('Access Denied');
}
admin commands tools for admin@flatlogic.com