Repository navigation
Commit 8e0b557
committed
fix(tunnel-client): resolve module → user domain via cluster/module_domains
NS8 stores consumer-to-domain bindings in the cluster/module_domains hash
(written by cluster/bind-user-domains), not on the consumer's environment.
fetchModuleDomain was only reading USER_DOMAIN from
module/{id}/environment, which is empty for most consumers (webtop, mail,
…), so the support session manifest reported no domain mapping and the UI
hid the per-module domain credentials. Read the cluster mapping first and
fall back to the per-module USER_DOMAIN for the providers that do expose
it directly.1 parent 432c772 commit 8e0b557
1 file changed
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
292 | 298 | | |
293 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
294 | 311 | | |
295 | 312 | | |
296 | 313 | | |
297 | 314 | | |
298 | | - | |
299 | | - | |
| 315 | + | |
| 316 | + | |
300 | 317 | | |
301 | 318 | | |
302 | | - | |
| 319 | + | |
303 | 320 | | |
304 | 321 | | |
305 | 322 | | |
| |||
0 commit comments