fix plugin store remote: find tenant by admin URL and allow purchase
HMAC k.montzar.ir matches the version that uses that admin panel. Remote buy is no longer blocked by plugin_store_enabled. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -160,11 +160,7 @@ export class RemoteSmsAuthGuard implements CanActivate {
|
||||
},
|
||||
});
|
||||
|
||||
const hit = findTenantForHost(
|
||||
tenants as TenantHostRow[],
|
||||
normalizedHost,
|
||||
'hmac',
|
||||
);
|
||||
const hit = findTenantForHost(tenants as TenantHostRow[], normalizedHost);
|
||||
if (!hit) return null;
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user