Add create_at back to profile fields to fix analytics

Этот коммит содержится в:
JoramWilander
2016-01-22 09:53:17 -05:00
родитель cefdad6d8c
Коммит bbcf00f02e
5 изменённых файлов: 20 добавлений и 3 удалений

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

@@ -55,6 +55,7 @@ func LoadLicense() {
if success, licenseStr := ValidateLicense(buf.Bytes()); success {
license := model.LicenseFromJson(strings.NewReader(licenseStr))
SetLicense(license)
return
}
l4g.Warn("No valid enterprise license found")
@@ -105,7 +106,7 @@ func ValidateLicense(signed []byte) (bool, string) {
}
// remove null terminator
if decoded[len(decoded)-1] == byte(0) {
for decoded[len(decoded)-1] == byte(0) {
decoded = decoded[:len(decoded)-1]
}