mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
refactor(core): Port license config (#11428)
This commit is contained in:
@@ -274,7 +274,7 @@ export abstract class BaseCommand extends Command {
|
||||
this.license = Container.get(License);
|
||||
await this.license.init();
|
||||
|
||||
const activationKey = config.getEnv('license.activationKey');
|
||||
const { activationKey } = this.globalConfig.license;
|
||||
|
||||
if (activationKey) {
|
||||
const hasCert = (await this.license.loadCertStr()).length > 0;
|
||||
|
||||
Reference in New Issue
Block a user