summaryrefslogtreecommitdiffstats
path: root/utils/license.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/license.go')
-rw-r--r--utils/license.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/license.go b/utils/license.go
index b84ef7007..c9784dfe4 100644
--- a/utils/license.go
+++ b/utils/license.go
@@ -124,12 +124,12 @@ func GetLicenseFileLocation(fileLocation string) string {
func GetClientLicense(l *model.License) map[string]string {
props := make(map[string]string)
- props["IsLicensed"] = strconv.FormatBool(l != nil)
+ props["IsLicensed"] = strconv.FormatBool(true)
+ props["LDAP"] = strconv.FormatBool(true)
if l != nil {
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)
props["SAML"] = strconv.FormatBool(*l.Features.SAML)
props["Cluster"] = strconv.FormatBool(*l.Features.Cluster)