Fix jwt-token
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user