Skip to content

Commit

Permalink
fix(jans-config-api): license validity period should be read only #731
Browse files Browse the repository at this point in the history
* Bug: license validity period should be read only #731

* fix: license validity period should be read only #731
  • Loading branch information
duttarnab authored Jan 31, 2022
1 parent 98db073 commit f88095b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Boolean checkLicense() {
License updatedLicense = auiConfiguration.getLicenseConfiguration()
.getLicenseManager()
.checkLicense(activeLicense);
return updatedLicense != null;
return updatedLicense != null && !activeLicense.getData().isExpired();
}
} catch (Exception e) {
log.error(ErrorResponse.CHECK_LICENSE_ERROR.getDescription(), e);
Expand Down

0 comments on commit f88095b

Please sign in to comment.