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 --- app/license.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/license.go') 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 { -- cgit v1.2.3-1-g7c22