fixed login tagline

This commit is contained in:
2026-02-07 10:53:47 +01:00
parent 4ff6cc5c67
commit 572577372c
+1 -1
View File
@@ -77,7 +77,7 @@ function authMiddleware(req, res, next) {
if (!AUTH_ENABLED) return next();
// Skip auth for login, auth-status, and members endpoints
if (req.path === '/api/login' || req.path === '/api/auth-status' || req.path === '/api/members') return next();
if (req.path === '/api/login' || req.path === '/api/auth-status' || req.path === '/api/members' || req.path === '/api/config') return next();
const token = req.headers['x-auth-token'];
if (token && sessions.has(token)) {