Fix jwt-token

This commit is contained in:
2025-09-14 18:03:55 +02:00
parent d1cc2f927e
commit 886f6433db

View File

@@ -159,6 +159,12 @@ class IPRestrictionMiddleware {
return next();
}
// Skip IP restrictions for auth config - users need to see login form and get proper error
if (req.path === '/api/auth/config') {
console.log('🔍 IP Restriction - Skipping for auth config route');
return next();
}
console.log('🔍 IP Restriction Check - Path:', req.path, 'Method:', req.method);
// Determine tenant