This commit is contained in:
Christopher Cookman 2025-09-01 01:09:45 -06:00
parent 8c476d2ec8
commit cd2a0b4b17

View file

@ -57,6 +57,7 @@ global.checkACL = function(req, perm) {
app.use((req, res, next) => {
if (req.session.user) return next();
if (req.path === "/") return next();
if (req.path === '/login' || req.path === '/login/') return next();
if (req.path === '/logout' || req.path === '/logout/') return next();
if (req.path.startsWith('/public/') || req.path === '/favicon.ico' || req.path === '/robots.txt') return next();