Skip to content

Commit b73b191

Browse files
authored
Add tip for default username when subscribing on localhost (#2258)
1 parent 4b644e5 commit b73b191

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

guides/multitenancy/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,16 @@ In the third terminal, subscribe to two tenants using one of the following metho
472472

473473
:::
474474

475+
::: tip Username defaults to `yves` on localhost
476+
When subscribing to tenants on localhost, you can omit the `-u` option. The command automatically uses `yves` (the default mock user) with an empty password:
477+
478+
```sh
479+
cds subscribe t1 --to http://localhost:4005
480+
```
481+
482+
If you've logged in with `cds login`, that user takes precedence. To override, explicitly specify `-u <username>`.
483+
:::
484+
475485
> Run `cds help subscribe` to see all available options.
476486
477487
<!--

0 commit comments

Comments
 (0)