Fix jwt-token

This commit is contained in:
2025-09-15 08:09:19 +02:00
parent f0fe227645
commit 2aeaa8125f

View File

@@ -45,12 +45,8 @@ class MultiTenantAuth {
*/
async determineTenant(req) {
console.log('===== DETERMINE TENANT CALLED =====');
// TEMPORARY: Return hardcoded value to test if function is being called
return 'test-tenant';
console.log('🏢 determineTenant called with req.user:', req.user);
console.log('🏢 req.headers:', req.headers);
console.log('🏢 req.user:', req.user);
console.log('🏢 req.headers.host:', req.headers?.host);
console.log('🏢 req.url:', req.url);
console.log('🏢 req.path:', req.path);