diff --git a/services/src/main/java/org/keycloak/services/resources/account/AccountConsole.java b/services/src/main/java/org/keycloak/services/resources/account/AccountConsole.java index e8f0a33665..dc54b87f10 100644 --- a/services/src/main/java/org/keycloak/services/resources/account/AccountConsole.java +++ b/services/src/main/java/org/keycloak/services/resources/account/AccountConsole.java @@ -164,7 +164,7 @@ public class AccountConsole implements AccountResourceProvider { map.put("deleteAccountAllowed", deleteAccountAllowed); map.put("isViewGroupsEnabled", isViewGroupsEnabled); - map.put("isViewOrganizationsEnabled", Profile.isFeatureEnabled(Profile.Feature.ORGANIZATION)); + map.put("isViewOrganizationsEnabled", realm.isOrganizationsEnabled()); map.put("isOid4VciEnabled", Profile.isFeatureEnabled(Profile.Feature.OID4VC_VCI)); map.put("updateEmailFeatureEnabled", Profile.isFeatureEnabled(Profile.Feature.UPDATE_EMAIL));