Merge pull request #1892 from gtudan/KEYCLOAK-2163
KEYCLOAK-2163: require user-admin role for clearing brute force detection status
This commit is contained in:
commit
6863b711e3
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ public class AttackDetectionResource {
|
|||
this.realm = realm;
|
||||
this.adminEvent = adminEvent.realm(realm);
|
||||
|
||||
auth.init(RealmAuth.Resource.REALM);
|
||||
auth.init(RealmAuth.Resource.USER);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue