fix incorrect user count being logged

This commit is contained in:
Brad Rydzewski 2019-06-11 22:54:22 -07:00
parent b90a7dd7d6
commit 3deb69886a

View File

@ -101,5 +101,9 @@ func Load(path string) (*core.License, error) {
return nil, err
}
if license.Users == 0 && decoded.Lim > 0 {
license.Users = int64(decoded.Lim)
}
return license, err
}