Fix jwt-token
This commit is contained in:
@@ -44,6 +44,7 @@ class MultiTenantAuth {
|
|||||||
* Can be from subdomain, header, or JWT
|
* Can be from subdomain, header, or JWT
|
||||||
*/
|
*/
|
||||||
async determineTenant(req) {
|
async determineTenant(req) {
|
||||||
|
console.log('🚀 DETERMINE TENANT FUNCTION START');
|
||||||
console.log('===== DETERMINE TENANT CALLED =====');
|
console.log('===== DETERMINE TENANT CALLED =====');
|
||||||
console.log('🏢 req.user:', req.user);
|
console.log('🏢 req.user:', req.user);
|
||||||
console.log('🏢 req.headers.host:', req.headers?.host);
|
console.log('🏢 req.headers.host:', req.headers?.host);
|
||||||
|
|||||||
Reference in New Issue
Block a user