KEYCLOAK-10953 Avoid NPE when Updating Clients via Admin REST API
This commit is contained in:
parent
f426ed6de6
commit
469bca624b
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ public class ClientResource {
|
|||
}
|
||||
}
|
||||
|
||||
if (!rep.getClientId().equals(client.getClientId())) {
|
||||
if (rep.getClientId() != null && !rep.getClientId().equals(client.getClientId())) {
|
||||
new ClientManager(new RealmManager(session)).clientIdChanged(client, rep.getClientId());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue