From 74579e467b391b8a2f5d87d1637c7c3dd4254162 Mon Sep 17 00:00:00 2001 From: abhishek9686 Date: Wed, 6 Nov 2024 10:42:54 +0400 Subject: [PATCH] disable default pro setup --- pro/initialize.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pro/initialize.go b/pro/initialize.go index 8d0c005c..f6ae6567 100644 --- a/pro/initialize.go +++ b/pro/initialize.go @@ -38,12 +38,12 @@ func InitPro() { controller.ListRoles = proControllers.ListRoles logic.EnterpriseCheckFuncs = append(logic.EnterpriseCheckFuncs, func() { // == License Handling == - enableLicenseHook := false - licenseKeyValue := servercfg.GetLicenseKey() - netmakerTenantID := servercfg.GetNetmakerTenantID() - if licenseKeyValue != "" && netmakerTenantID != "" { - enableLicenseHook = true - } + enableLicenseHook := true + // licenseKeyValue := servercfg.GetLicenseKey() + // netmakerTenantID := servercfg.GetNetmakerTenantID() + // if licenseKeyValue != "" && netmakerTenantID != "" { + // enableLicenseHook = true + // } if !enableLicenseHook { err := initTrial() if err != nil {