diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2018-10-27 10:20:02 +0200 |
---|---|---|
committer | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2020-01-07 18:41:37 +0100 |
commit | 9db4666a657bf137b371b9163a60e9c818ea31f3 (patch) | |
tree | d9dd69aea7e9443b46387aae5bfb4efbd41a65c2 /app/license.go | |
parent | 937b6480d534b3051cadf4a892a9aa210bec579a (diff) | |
download | chat-spline.tar.gz chat-spline.tar.bz2 chat-spline.zip |
ldap: Add own ldap authenticationspline
Diffstat (limited to 'app/license.go')
-rw-r--r-- | app/license.go | 5 |
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 { |