Store: Fix missing invitation email when adding new user (#6372)

Fixes #6369, a regression introduced with#6188: Sending invite emails required a flag to be set, which defaulted to false. This fixes the code to explicitely set the flag and also defaults it to true (sending an invite email unless declared otherwise).
This commit is contained in:
d11n
2024-11-09 13:55:34 +01:00
committed by GitHub
parent 540fb6c9f6
commit f5d26a1555
2 changed files with 2 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ public partial class UIStoresController
Kind = UserRegisteredEventKind.Invite,
User = user,
InvitedByUser = currentUser,
SendInvitationEmail = true,
CallbackUrlGenerated = tcs
});