diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/license.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/license.go b/utils/license.go index 0b4e666b0..f4775d338 100644 --- a/utils/license.go +++ b/utils/license.go @@ -218,6 +218,8 @@ func getClientLicense(l *model.License) map[string]string { props["MHPNS"] = strconv.FormatBool(*l.Features.MHPNS) props["PasswordRequirements"] = strconv.FormatBool(*l.Features.PasswordRequirements) props["Announcement"] = strconv.FormatBool(*l.Features.Announcement) + props["Elasticsearch"] = strconv.FormatBool(*l.Features.Elasticsearch) + props["DataRetention"] = strconv.FormatBool(*l.Features.DataRetention) props["IssuedAt"] = strconv.FormatInt(l.IssuedAt, 10) props["StartsAt"] = strconv.FormatInt(l.StartsAt, 10) props["ExpiresAt"] = strconv.FormatInt(l.ExpiresAt, 10) |