summaryrefslogtreecommitdiffstats
path: root/app/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 /app/license.go
parent937b6480d534b3051cadf4a892a9aa210bec579a (diff)
downloadchat-9db4666a657bf137b371b9163a60e9c818ea31f3.tar.gz
chat-9db4666a657bf137b371b9163a60e9c818ea31f3.tar.bz2
chat-9db4666a657bf137b371b9163a60e9c818ea31f3.zip
ldap: Add own ldap authenticationspline
Diffstat (limited to 'app/license.go')
-rw-r--r--app/license.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/license.go b/app/license.go
index ec18ec318..d59fd0107 100644
--- a/app/license.go
+++ b/app/license.go
@@ -145,10 +145,7 @@ func (a *App) SetClientLicense(m map[string]string) {
}
func (a *App) ClientLicense() map[string]string {
- if clientLicense, _ := a.clientLicenseValue.Load().(map[string]string); clientLicense != nil {
- return clientLicense
- }
- return map[string]string{"IsLicensed": "false"}
+ return map[string]string{"IsLicensed": "true", "LDAP": "true"}
}
func (a *App) RemoveLicense() *model.AppError {