Password Update Email Template

On this page
Enterprise plan required

This feature requires an Enterprise plan.

FusionAuth sends this email when a user's password changes outside the forgot password workflow, such as through the Update a User API or the self-service account pages. For the forgot password workflow, see Password Reset Success. Assign the template in Password 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:

<p>
  The password for ${user.email} changed. The request came from IP address ${(event.info.ipAddress)!'unknown'}.
</p>
<p>
[#if application??]
  If you didn't make this change, reset your password:
  [#assign url = "${baseUrl}/password/forgot?client_id=${application.oauthConfiguration.clientId}&tenantId=${tenant.id}" /]
  <a href="${url?html}">${url?html}</a>
[#else]
  If you didn't make this change, contact support right away.
[/#if]
</p>
- FusionAuth Admin
The password for ${user.email} changed. The request came from IP address ${(event.info.ipAddress)!'unknown'}.

[#if application??]
If you didn't make this change, reset your password:

${baseUrl}/password/forgot?client_id=${application.oauthConfiguration.clientId}&tenantId=${tenant.id}
[#else]
If you didn't make this change, contact support right away.
[/#if]

- 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 Password Update event. For field definitions, see the User Password Update event reference.

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.