mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-10 06:02:22 +00:00
fix: clean up create user v3
This commit is contained in:
@@ -61,7 +61,7 @@ func (c *Commands) SetSchemaUserPassword(ctx context.Context, user *SetSchemaUse
|
||||
resourceOwner := existing.ResourceOwner
|
||||
// when no password was set yet
|
||||
if existing.EncodedHash == "" {
|
||||
existingUser, err := c.getSchemaUserExists(ctx, user.ResourceOwner, user.UserID)
|
||||
existingUser, err := c.getSchemaUserWMForState(ctx, user.ResourceOwner, user.UserID)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user