fixed login tagline
This commit is contained in:
1 parent
4ff6cc5c67
commit
572577372c
1 file changed
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user