mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-26 13:50:48 +00:00
Disable the Account UI when the ACCOUNT feature is disabled (#48807)
Closes #48806 Signed-off-by: Martin Bartoš <mabartos@redhat.com>
This commit is contained in:
+3
-1
@@ -132,7 +132,9 @@ public class KeycloakServerConfigBuilder {
|
||||
* @return
|
||||
*/
|
||||
public KeycloakServerConfigBuilder featuresDisabled(Profile.Feature... features) {
|
||||
this.featuresDisabled.addAll(toFeatureStrings(features));
|
||||
this.featuresDisabled.addAll(Arrays.stream(features)
|
||||
.map(Profile.Feature::getUnversionedKey)
|
||||
.collect(Collectors.toSet()));
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user