# Customizing the unlock page of Brute-Force Protection

**URL:** <https://community.auth0.com/t/customizing-the-unlock-page-of-brute-force-protection/120158>\
**Category:** Get Help\
**Tags:** attack-protection, brute-force-protection\
**Created:** [November 3, 2023, 2:12pm UTC](https://community.auth0.com/t/customizing-the-unlock-page-of-brute-force-protection/120158 "2023-11-03T14:12:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![d-kimuson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/d-kimuson/32/52160_2.png) [@d-kimuson](https://community.auth0.com/u/d-kimuson)\
**Post date:** [November 3, 2023, 2:12pm UTC](https://community.auth0.com/t/customizing-the-unlock-page-of-brute-force-protection/120158/1 "2023-11-03T14:12:54Z")

</div>

I am trying [Brute-Force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection).  
I was able to customize the html of email that is sent when user account is blocked according to this [documentation](https://auth0.com/docs/customize/email/customize-blocked-account-emails).  
However, I have not found a way to customize the page after moved to the unlock link(which is display “Account Unblocked” on success, “Authentication Error” on failure).  
Most users of the service I am developing are not native English speakers, so I would like to customize, or at least localize, the HTML of this page if possible.  
Is the way to do this provided?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 3, 2023, 4:59pm UTC](https://community.auth0.com/t/customizing-the-unlock-page-of-brute-force-protection/120158/3 "2023-11-03T16:59:08Z")

</div>

Hi @d-kimuson,

Welcome to the Auth0 Community!

Firstly, you will need to set the user’s preferred language in their user\_metadata so we can determine what language to set in the email template. For example:

```auto
"user_metadata": {
    "locale": "fr-FR"
}

```

Then, you can customize the language of your Blocked Account Email template by [using liquid syntax in the email template](https://auth0.com/docs/customize/email/email-templates/use-liquid-syntax-in-email-templates) to conditionally set the language.

For example, in the message body you could have:

```auto
{% assign language = user.user_metadata.locale %}
{% if language == 'fr-FR' %}
Bonjour
{% else %}
Hi

```

This will convert the email message body to French if the user’s language is set to ‘fr-FR’ and English otherwise.

Please let me know if you have any questions on this.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![d-kimuson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/d-kimuson/32/52160_2.png) [@d-kimuson](https://community.auth0.com/u/d-kimuson)\
**Post date:** [November 6, 2023, 1:21am UTC](https://community.auth0.com/t/customizing-the-unlock-page-of-brute-force-protection/120158/4 "2023-11-06T01:21:58Z")

</div>

Many thanks for the explanation, @rueben.tiow

However, my concern is not with the Brute-Force Protection email template, but with customizing/localizing the view of the status page that appears when I click on the link for unlocking.

To explain in more detail.

1. Make 10 repeated mistakes in entering my credentials with Brute-Force Protection enabled
2. Receive an account lock email
3. Click on the email address to unlock your account ← This email can be customized in the way you described
4. Status page appears ← I am looking for a way to customize/localize this page

Thank you so much,  
d-kimuson

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 13, 2023, 7:37pm UTC](https://community.auth0.com/t/customizing-the-unlock-page-of-brute-force-protection/120158/6 "2023-11-13T19:37:23Z")

</div>

Hi @d-kimuson,

Thank you for your reply and clarification.

> [@d-kimuson](#):
>
> Status page appears ← I am looking for a way to customize/localize this page

Unfortunately, the confirmation account unblocked page is not customizable at the moment. However, there’s a feature request for this customization option: [Ability to customize Account Unblocked page](https://community.auth0.com/t/ability-to-customize-account-unblocked-page/68645)

I suggest giving your support to the feature request by upvoting it, as more votes increase the likelihood of it being implemented sooner.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 27, 2023, 7:38pm UTC](https://community.auth0.com/t/customizing-the-unlock-page-of-brute-force-protection/120158/7 "2023-11-27T19:38:05Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
