Two-Factor Method Added Email Template
On this page
This feature requires an Enterprise plan.
FusionAuth sends this email when a user adds a two-factor method. Assign the template in Two-factor method added on the Tenants -> Your Tenant -> Identities tab. To override the template for one Application, set the template on the Applications -> Your Application -> Identities tab.
Default Template#
FusionAuth ships the following default template:
<p>
The following two factor method was added to ${user.email}:
<br>
<strong>Method: ${method.method}</strong>
<br>
<strong>Identifier: ${method.id}</strong>
</p>
- FusionAuth AdminThe following two factor method was added to ${user.email}:
- Method: ${method.method}
- Identifier: ${method.id}
- FusionAuth AdminReplacement Variables#
applicationThe Application object. For field definitions, see the Application API.
The variable is present only when the request that sends the email identifies an Application. Check for the variable before you use it:
[#if application??]
${application.name}
[/#if]
baseUrlThe base URL for links in the email. FusionAuth uses the Application baseURL, then the Tenant baseURL, then http://localhost:9011.
eventThe User Two-Factor Method Add event. For field definitions, see the User Two-Factor Method Add event reference.
methodThe two-factor method that was added. For field definitions, see user.twoFactor.methods in the User API.
tenantThe Tenant object. For field definitions, see the Tenant API.
userThe User object for the recipient. For field definitions, see the User API.
Related
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 email that confirms a password reset, and which variables the template receives.
Learn when FusionAuth sends the email that tells a user their password changed, and which variables the template receives.