fix: scim create users dont send init emails (#9283)

# Which Problems Are Solved
- when a scim user is provisioned, a init email could be sent

# How the Problems Are Solved
- no init email should be sent => hard code false for the email init
param

# Additional Context

Related to https://github.com/zitadel/zitadel/issues/8140

Co-authored-by: Fabienne Bühler <fabienne@zitadel.com>
This commit is contained in:
Lars 2025-01-31 10:36:18 +01:00 committed by GitHub
parent 20cff9c70a
commit f65db52247
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ func (h *UsersHandler) Create(ctx context.Context, user *ScimUser) (*ScimUser, e
return nil, err return nil, err
} }
err = h.command.AddUserHuman(ctx, orgID, addHuman, true, h.userCodeAlg) err = h.command.AddUserHuman(ctx, orgID, addHuman, false, h.userCodeAlg)
if err != nil { if err != nil {
return nil, err return nil, err
} }