Only show organization section in account UI of enabled
We now only show organization section in account ui if org support is enabled for realm. Fixes #33735 Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
This commit is contained in:
parent
df30358839
commit
1ef845b31d
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ public class AccountConsole implements AccountResourceProvider {
|
||||||
map.put("deleteAccountAllowed", deleteAccountAllowed);
|
map.put("deleteAccountAllowed", deleteAccountAllowed);
|
||||||
|
|
||||||
map.put("isViewGroupsEnabled", isViewGroupsEnabled);
|
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("isOid4VciEnabled", Profile.isFeatureEnabled(Profile.Feature.OID4VC_VCI));
|
||||||
|
|
||||||
map.put("updateEmailFeatureEnabled", Profile.isFeatureEnabled(Profile.Feature.UPDATE_EMAIL));
|
map.put("updateEmailFeatureEnabled", Profile.isFeatureEnabled(Profile.Feature.UPDATE_EMAIL));
|
||||||
|
|
Loading…
Reference in a new issue