Two-Factor Method Removed Email Template

On this page
Enterprise plan required

This feature requires an Enterprise plan.

FusionAuth sends this email when a user removes a two-factor method. When an administrator removes the method, see Admin Two-Factor Method Removed. Assign the template in Two-factor method removed 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 removed from ${user.email}:

  <br>
  <strong>Method: ${method.method}</strong>
  <br>
  <strong>Identifier: ${method.id}</strong>

</p>

- FusionAuth Admin
The following two factor method was removed from ${user.email}:

- Method: ${method.method}
- Identifier: ${method.id}

- FusionAuth Admin

Replacement Variables#

application
  • Type: Application

The 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]
baseUrl
  • Type: String
  • Available since 1.68.0

The base URL for links in the email. FusionAuth uses the Application baseURL, then the Tenant baseURL, then http://localhost:9011.

event
  • Type: Object

The User Two-Factor Method Remove event. For field definitions, see the User Two-Factor Method Remove event reference.

method
  • Type: Object

The two-factor method that was removed. For field definitions, see user.twoFactor.methods in the User API.

tenant
  • Type: Tenant

The Tenant object. For field definitions, see the Tenant API.

user
  • Type: User

The User object for the recipient. For field definitions, see the User API.