From 872a1e3dd738116f53dfc6fe86226d352dc8e906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 20 Feb 2026 18:09:46 +0400 Subject: [PATCH] Set email address on create to get it in reponse payload MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- pkg/iam/organization_service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/iam/organization_service.go b/pkg/iam/organization_service.go index fed95299e..e7e530940 100644 --- a/pkg/iam/organization_service.go +++ b/pkg/iam/organization_service.go @@ -880,6 +880,7 @@ func (s *OrganizationService) CreateUser(ctx context.Context, req *CreateUserReq ID: gid.New(req.OrganizationID.TenantID(), coredata.MembershipProfileEntityType), IdentityID: identity.ID, OrganizationID: req.OrganizationID, + EmailAddress: req.EmailAddress, Source: coredata.ProfileSourceManual, FullName: req.FullName, Kind: req.Kind,