PLT-5703 Update license expiry timing and text (#5602)

* Update license expiry timing and text

* Updating error bar (#5632)
Этот коммит содержится в:
Joram Wilander
2017-03-06 20:36:20 -05:00
коммит произвёл Corey Hulen
родитель 3f070fe4b8
Коммит f8aaf312c1
7 изменённых файлов: 93 добавлений и 56 удалений

Просмотреть файл

@@ -118,6 +118,7 @@ func getClientLicense(l *model.License) map[string]string {
props["IsLicensed"] = strconv.FormatBool(IsLicensed)
if IsLicensed {
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)
@@ -166,6 +167,7 @@ func GetSanitizedClientLicense() map[string]string {
}
if IsLicensed {
delete(sanitizedLicense, "Id")
delete(sanitizedLicense, "Name")
delete(sanitizedLicense, "Email")
delete(sanitizedLicense, "PhoneNumber")