César Calvo
2016-09-28 e1d59acfb21c99b8b1b0ca0504b599f9ac444d19
src/main/java/net/curisit/securis/LicenseValidator.java
....@@ -68,7 +68,7 @@
6868 }
6969
7070 public void validateHW(RequestBean reqBean, String appCode, String activationCode) throws SeCurisException {
71
- RequestBean currentHW = ReqGenerator.getInstance().createRequest(appCode, activationCode);
71
+ RequestBean currentHW = ReqGenerator.getInstance().createRequest(appCode, activationCode, true);
7272 if (!currentHW.match(reqBean)) {
7373 throw new SeCurisException("Current System info mismatch the License System info:\n Licensed: \n" + JsonUtils.toPrettyJSON(reqBean, RequestBean.class)
7474 + "\n Expected: \n" + JsonUtils.toPrettyJSON(currentHW));