diff --git a/src/internal/controller/zitadelcluster_controller.go b/src/internal/controller/zitadelcluster_controller.go index 7821faa..fbac404 100644 --- a/src/internal/controller/zitadelcluster_controller.go +++ b/src/internal/controller/zitadelcluster_controller.go @@ -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) }