add brute force enabled so we can render switch (#34282)
fixes: #34065 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
2f64f43266
commit
4d25128018
1 changed files with 1 additions and 0 deletions
|
@ -385,6 +385,7 @@ public class RealmAdminResource {
|
||||||
rep.setDisplayName(realm.getDisplayName());
|
rep.setDisplayName(realm.getDisplayName());
|
||||||
rep.setDisplayNameHtml(realm.getDisplayNameHtml());
|
rep.setDisplayNameHtml(realm.getDisplayNameHtml());
|
||||||
rep.setSupportedLocales(realm.getSupportedLocalesStream().collect(Collectors.toSet()));
|
rep.setSupportedLocales(realm.getSupportedLocalesStream().collect(Collectors.toSet()));
|
||||||
|
rep.setBruteForceProtected(realm.isBruteForceProtected());
|
||||||
|
|
||||||
if (auth.users().canView()) {
|
if (auth.users().canView()) {
|
||||||
rep.setRegistrationEmailAsUsername(realm.isRegistrationEmailAsUsername());
|
rep.setRegistrationEmailAsUsername(realm.isRegistrationEmailAsUsername());
|
||||||
|
|
Loading…
Reference in a new issue