Commit 4e515f9
committed
fix(open-xchange): stop keycloak-sync from reverting mail identity on every run
The change SOAP call (runs every 15 min, for existing accounts) was
unconditionally resetting primaryEmail/email1 back to Keycloak's
email on every sync - silently undoing any account customized to use
a different mail identity than the Keycloak login domain (hit this in
production: kept reverting kubeaid.io swaps back to obmondo.com every
15 minutes, had to suspend the CronJob entirely to stop it).
change now only touches name fields (given_name/sur_name/display_name)
- its actual job, keeping display names in sync. create (for genuinely
new accounts) still sets primaryEmail/email1 once, unaffected.
Signed-off-by: Rishi <rishi@obmondo.com>1 parent f0064a3 commit 4e515f9
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
| |||
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
232 | | - | |
233 | | - | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
| |||
0 commit comments