Do not require password change
[ZITADOPER-1]
This commit is contained in:
@@ -528,9 +528,10 @@ func (r *ZitadelClusterReconciler) reconcileInitialHumanUser(ctx context.Context
|
||||
}
|
||||
|
||||
{
|
||||
if _, err := managementClient.SetHumanInitialPassword(middleware.SetOrgID(ctx, org.Org.Id), &management.SetHumanInitialPasswordRequest{
|
||||
UserId: userid,
|
||||
Password: password,
|
||||
if _, err := managementClient.SetHumanPassword(middleware.SetOrgID(ctx, org.Org.Id), &management.SetHumanPasswordRequest{
|
||||
UserId: userid,
|
||||
Password: password,
|
||||
NoChangeRequired: true,
|
||||
}); err != nil {
|
||||
return ctrl.Result{}, fmt.Errorf("Error setting password for member: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user