From 9db4666a657bf137b371b9163a60e9c818ea31f3 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 27 Oct 2018 10:20:02 +0200 Subject: ldap: Add own ldap authentication --- utils/license.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/license.go') 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) -- cgit v1.2.3-1-g7c22