---
schema_version: "1"
id: d8b13f6a1c13d426bd42dae26b2a6dabbec90cb58812bd804ed52410a71f2811
title: Customize the User Lockout Email Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/networks_user_lockout_email.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.networks_user_lockout_email.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8b9f93fb428ab74ad353d3fdee4cb14b0febb4e1cce627314ce3068202fb8532
description: You can customize the email template you send to users when they attempt to reset their password after getting locked out of your Experience Cloud site due to too many failed login attempts. You can change the look to match your brand and how and when users can unlock their accounts.
products:
  - Experiences
release: "264"
---
# Customize the User Lockout Email Template

You can customize the email template you send to users when they attempt to reset their password after getting locked out of your Experience Cloud site due to too many failed login attempts. You can change the look to match your brand and how and when users can unlock their accounts.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Experience Builder site</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d74673e70">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d74673e70 ">To customize or publish an Experience Cloud site:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d74673e70 ">
              <ul>
                <li>Create and Set Up Experiences AND View Setup and Configuration AND be a member
                  of the site<p>OR</p>
                </li>

                <li>View Setup and Configuration AND be a member of the site AND have appropriate
                  <a href="https://help.salesforce.com/s/articleView?id=experience.networks_access_control_overview.htm&amp;language=en_US" target="_blank">role-based site access</a>
                </li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>

Users are unable reset their passwords when their accounts are locked. Depending upon their password policy, they may need to wait awhile or contact an admin to unlock their account before they can reset their password. Admins set the password policy, including the maximum allowable invalid login attempts, on the site user’s profile page. This password policy determines the next steps users take to unlock their account. The default email template includes a formula that checks the profile’s password policy and pulls that information into the notification sent.

The user lockout email template is available to Experience Builder sites as of Summer ’18.

1. From Setup, enter All in the Quick Find box, and select **All Experiences**. Next to your site, click **Workspaces**.
2. Select **Administration**, and then select **Emails**.
3. Under Email Templates, click ![lookup magnifying glass](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/communities/images/lookup.png) next to User Lockout, and select **Experiences: User Lockout Email**.
4. Click **Save**.
    
    Your site is set up to send notifications to users when they’re locked out of their accounts.
5. To change the formula or make other customizations, edit the email template.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/images/icon_note.png)
    
    Note
    
    - The formula included in this template is only for lockout emails. When applied to another email type, the formula returns a blank message.
    - The `{!Community_url}` merge field isn’t available for the lockout template.
    
    1. From Setup, enter Email Templates in the Quick Find box, then select **Classic Email Templates**.
    2. Next to Experiences: User Lockout Email, select **Edit**.
    3. Edit the text in the email body. To personalize your email content, use the available merge fields listed at the top of the page.
    4. Click **Save**.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/images/icon_example.png)

Example If the password policy locks users out for 15 minutes before they can try to log in again, the formula returns the following message: “Try again in 15 minutes.”

![Communities: User Lockout Email template](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/communities/images/user_lockout_email.png)