KEYCLOAK-2582 Wrong message after synchronization (removing user from ldap)
This commit is contained in:
parent
f72b0f3f6d
commit
0708bceea7
1 changed files with 4 additions and 1 deletions
|
@ -96,7 +96,10 @@ public class UserFederationSyncResult {
|
||||||
if (ignored) {
|
if (ignored) {
|
||||||
return "Synchronization ignored as it's already in progress";
|
return "Synchronization ignored as it's already in progress";
|
||||||
} else {
|
} else {
|
||||||
String status = String.format("%d imported users, %d updated users, %d removed users", added, updated, removed);
|
String status = String.format("%d imported users, %d updated users", added, updated);
|
||||||
|
if (removed > 0) {
|
||||||
|
status += String.format(", %d removed users", removed);
|
||||||
|
}
|
||||||
if (failed != 0) {
|
if (failed != 0) {
|
||||||
status += String.format(", %d users failed sync! See server log for more details", failed);
|
status += String.format(", %d users failed sync! See server log for more details", failed);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue