KEYCLOAK-2163: require user admin role for clearing bruteforce detection status

This commit is contained in:
Gregor Tudan 2015-11-27 21:22:14 +01:00
parent fa4e32ddcb
commit 46f947113c

View file

@ -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);
}
/**