diff --git a/plugins/admin-ui-plugin/src/main/java/io/jans/configapi/plugin/adminui/rest/license/LicenseResource.java b/plugins/admin-ui-plugin/src/main/java/io/jans/configapi/plugin/adminui/rest/license/LicenseResource.java index e53937f877f..0466c6ae22a 100644 --- a/plugins/admin-ui-plugin/src/main/java/io/jans/configapi/plugin/adminui/rest/license/LicenseResource.java +++ b/plugins/admin-ui-plugin/src/main/java/io/jans/configapi/plugin/adminui/rest/license/LicenseResource.java @@ -117,7 +117,7 @@ public LicenseResponse getLicenseDetails() { licenseResponse.setCustomerEmail(activeLicense.getData().getCustomer().getEmail()); licenseResponse.setCustomerFirstName(activeLicense.getData().getCustomer().getFirstName()); licenseResponse.setCustomerLastName(activeLicense.getData().getCustomer().getLastName()); - licenseResponse.setLicenseActive(activeLicense.getData().isExpired()); + licenseResponse.setLicenseActive(!activeLicense.getData().isExpired()); return licenseResponse; } } catch (LicenseSpringException e) {