summaryrefslogtreecommitdiffstats
path: root/utils/license.go
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2018-10-27 10:20:02 +0200
committerAlexander Sulfrian <asulfrian@zedat.fu-berlin.de>2020-01-07 18:41:37 +0100
commit9db4666a657bf137b371b9163a60e9c818ea31f3 (patch)
treed9dd69aea7e9443b46387aae5bfb4efbd41a65c2 /utils/license.go
parent937b6480d534b3051cadf4a892a9aa210bec579a (diff)
downloadchat-9db4666a657bf137b371b9163a60e9c818ea31f3.tar.gz
chat-9db4666a657bf137b371b9163a60e9c818ea31f3.tar.bz2
chat-9db4666a657bf137b371b9163a60e9c818ea31f3.zip
ldap: Add own ldap authenticationspline
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)