I'm experiencing an issue with the sendSetPasswordEmail
flag in FusionAuth. My users authenticate using the username
only, and I store their email information in the user.data.email
field.
When attempting to create a user with the sendSetPasswordEmail
as true
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.