Login Id Duplicate on Update Message Template
On this page
This feature requires an Enterprise plan.
FusionAuth sends this message when someone tries to change a user's email address, username, or phone number to one that already belongs to another user. The message goes to the phone number of the existing account in event.existing, whichever login Id matched. Don't put details about user in the message, because the recipient doesn't own that account. Assign the template in Login Id duplicate on update on the Tenants -> Your Tenant -> Identities tab. To override the template for one Application, set the template on the Applications -> Your Application -> Identities tab.
Example Template#
FusionAuth ships no default for this template. Start from the following example:
[#-- this message goes to the existing account, so don't show details about the other user --]
Another account tried to change its login Id to one that already belongs to your account. FusionAuth rejected the change, and your account is unchanged.
- FusionAuth Admin
Replacement Variables#
applicationThe Application object. For field definitions, see the Application API.
The variable is present only when the request that sends the message identifies an Application. Check for the variable before you use it:
[#if application??]
${application.name}
[/#if]
baseUrlThe base URL for links in the message. FusionAuth uses the Application baseURL, then the Tenant baseURL, then http://localhost:9011.
eventThe User Login Id Duplicate Update event. For field definitions, see the User Login Id Duplicate Update event reference.
phoneNumberThe phone number of the existing account in event.existing. The Generic messenger request has the same value in phoneNumber.
tenantThe Tenant object. For field definitions, see the Tenant API.
userThe User object for the user whose update FusionAuth rejected. The recipient doesn't own this account. For field definitions, see the User API.
Related
Learn when FusionAuth sends the message that tells a user someone tried to sign up with their login Id, and which variables the template receives.
Learn when FusionAuth sends the email that tells a user someone tried to sign up with their login Id, and which variables the template receives.
Learn when FusionAuth sends the email that tells a user another account tried to take their login Id, and which variables the template receives.
Learn when FusionAuth sends the message that confirms a password reset, and which variables the template receives.