From 426cffc2243f1b5a7ca79f634d7935a98fe9ea30 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 30 May 2026 20:18:11 -0500 Subject: [PATCH] fix(api): set IsActive=true when creating license packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same bug as keys — packages were created with is_active=false causing all key validation to reject even valid keys. Co-Authored-By: Claude Opus 4.6 (1M context) --- routers/api/v1/repo/license_key.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/api/v1/repo/license_key.go b/routers/api/v1/repo/license_key.go index 0fc16981b6..77c83fe796 100644 --- a/routers/api/v1/repo/license_key.go +++ b/routers/api/v1/repo/license_key.go @@ -82,6 +82,7 @@ func CreateLicensePackage(ctx *context.APIContext) { MaxSites: form.MaxSites, RepoScope: form.RepoScope, AllowedChannels: form.AllowedChannels, + IsActive: true, } if pkg.RepoScope == "" { pkg.RepoScope = "all" -- 2.52.0