Merge pull request #1648 from girirajsharma/master
[KEYCLOAK-1880] Admin API Doesn't Detect Null Client
This commit is contained in:
commit
e104450fc8
1 file changed
+1
-1
@@ -792,7 +792,7 @@ public class UsersResource {
|
||||
}
|
||||
|
||||
ClientModel clientModel = realm.getClientById(client);
|
||||
if (client == null) {
|
||||
if (clientModel == null) {
|
||||
throw new NotFoundException("Client not found");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user