diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/license.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/license.go b/utils/license.go index 2c43db6dd..5ec94386d 100644 --- a/utils/license.go +++ b/utils/license.go @@ -118,6 +118,7 @@ func getClientLicense(l *model.License) map[string]string { props["IsLicensed"] = strconv.FormatBool(IsLicensed) if IsLicensed { + props["Id"] = l.Id props["Users"] = strconv.Itoa(*l.Features.Users) props["LDAP"] = strconv.FormatBool(*l.Features.LDAP) props["MFA"] = strconv.FormatBool(*l.Features.MFA) @@ -166,6 +167,7 @@ func GetSanitizedClientLicense() map[string]string { } if IsLicensed { + delete(sanitizedLicense, "Id") delete(sanitizedLicense, "Name") delete(sanitizedLicense, "Email") delete(sanitizedLicense, "PhoneNumber") |