mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-05 05:42:16 +00:00
# Which Problems Are Solved Currently when setting up an instance, for example from the customer portal through system api, an instance is created together with an administrator. If no admin user is specified the default user from the runtime configuration is automatically added. For the new onboarding, we can to create instances without prompting the user to set up a complete account right on start, but the current behavior of the API prevents this, resp. the created account would fallback to the default user or password. By providing an empty `password` field in the `owner_password` in the `AddInstanceRequest` or `huiman.password` in the `CreateInstanceRequest`, it's already possible to create an account without password. Until now this however ended up in an initial mail to be sent to the user to finalize their account setup. # How the Problems Are Solved We simply set the `allowInitMail` to false in the `AddHumanCommand` for setting up the admins. This will prevent an email to be sent out immediately and gives us the possibility to use the invite flow later on. # Additional Changes None # Additional Context - required for https://github.com/zitadel/website/issues/1611 - backport to v4.x