@dan I opened the request. Thanks!
G
Posts made by gean.ivamoto
-
RE: Can't use sendSetPasswordEmail when creating a user without user.email
-
Can't use sendSetPasswordEmail when creating a user without user.email
I'm experiencing an issue with the
sendSetPasswordEmail
flag in FusionAuth. My users authenticate using theusername
only, and I store their email information in theuser.data.email
field.When attempting to create a user with the
sendSetPasswordEmail
astrue
I receive this error:{ "fieldErrors": { "user.email": [ { "code": "[required]user.email", "message": "You must specify the [user.email] property when [sendSetPasswordEmail] is equals to [true]." } ] }, "generalErrors": [] }
Is it possible for FusionAuth to send the email using "user.data.email" instead of "user.email"?
Unfortunately, I cannot use "user.email" as there are some users with duplicated emails, and this field is unique.
I'm using FusionAuth cloud 1.48.1.
Thank you for your help.