feat(zitadel): change the default value of the username to the key instead of the email.

This should ensure that binding to the apps goes more smoothly
This commit is contained in:
Chris Kruining 2025-11-03 16:36:19 +01:00
parent 7100d1c59c
commit 8104ba7e93
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -165,10 +165,10 @@ in
userName = mkOption {
type = types.nullOr types.str;
default = cfg.organization.${org}.user.${username}.email;
example = "someone@some.domain";
default = username;
example = "some_user_name";
description = ''
Username. Default value is the user's email, you can overwrite that by setting this option
Username. Default value is the key of the config object you created, you can overwrite that by setting this option
'';
};