KEYCLOAK-2163: require user admin role for clearing bruteforce detection status
This commit is contained in:
parent
fa4e32ddcb
commit
46f947113c
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