# Customise password strength rules text in new universal experience

**URL:** <https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529>\
**Category:** Get Help\
**Created:** [September 13, 2021, 11:49am UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529 "2021-09-13T11:49:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmc](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dmc/32/13588_2.png) [@dmc](https://community.auth0.com/u/dmc)\
**Post date:** [September 13, 2021, 11:49am UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/1 "2021-09-13T11:49:07Z")

</div>

We’re using the ‘new universal’ experience and would prefer to have ‘lowercase’ and ‘uppercase’ written as single words in the copy displayed if certain password strength requirements aren’t met. I think it looks like it’s possible with the ‘classic universal’ experience, but can’t see if it is with our set up. Is this an option?

---

<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:** [September 13, 2021, 9:04pm UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/3 "2021-09-13T21:04:09Z")

</div>

Hi @dmc,

Welcome to the Auth0 Community!

I understand you would like to customize the password strength.

In this case, I recommend that you navigate to your [Database connection](https://manage.auth0.com/#/connections/database) and [configuring the Password Policy](https://auth0.com/docs/connections/database/password-strength#change-your-policy) in your Database connection to be at least **`Fair`**.

Doing so will enable lowercase and uppercase password requirements whenever the user resets their password or signs up.

You can check that the password policy is updated by going to your Dashboard’s [Get Started page](https://manage.auth0.com/dashboard/us/onboarding-tiow/) and clicking the “Try it out” button or the Preview tab on the [Universal Login page](https://manage.auth0.com/#/login_page).

Please let me know if you have any further questions. I would be glad to help.

---

<div class="post-metadata">

**Author:** ![dmc](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dmc/32/13588_2.png) [@dmc](https://community.auth0.com/u/dmc)\
**Post date:** [September 14, 2021, 4:50am UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/4 "2021-09-14T04:50:53Z")

</div>

Hi @rueben.tiow — thanks for your reply. I’m interested in changing the copy associated with the rules rather than the rules themselves. Is that an option?

---

<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:** [September 14, 2021, 4:46pm UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/5 "2021-09-14T16:46:13Z")

</div>

Hi @dmc,

Thank you for your response.

To assist you further, could you please clarify your use case and the intended behavior of your flow?

And, could you elaborate on what is meant by “copy”?

Meanwhile, you might find our documentation on the difference between the New vs Classic experience useful: [https://auth0.com/docs/login/universal-login/new-universal-login-vs-classic-universal-login](https://auth0.com/docs/login/universal-login/new-universal-login-vs-classic-universal-login)

---

<div class="post-metadata">

**Author:** ![dmc](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dmc/32/13588_2.png) [@dmc](https://community.auth0.com/u/dmc)\
**Post date:** [September 15, 2021, 6:30pm UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/6 "2021-09-15T18:30:19Z")

</div>

Hi @rueben.tiow

By ‘copy’ I mean ‘words’.

Here’s what is displayed to a user currently:

![image](https://global.discourse-cdn.com/auth0/original/3X/5/1/51844c2737233ff45ff29b9e5065e971a106c8e0.png)

It includes the words, ‘Lower case’ and ‘Upper case’.

Because our internal style is for these to be one word (i.e. ‘lowercase’ and ‘uppercase’), we’d like to be able to edit what is displayed to reflect this.

---

<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:** [September 15, 2021, 7:09pm UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/7 "2021-09-15T19:09:32Z")

</div>

Hi @dmc,

Thank you for that clarification.

Yes, it is possible to change the Password Strength wording. Changing the `passwordStrength` wording is usually done through the [Lock configuration option’s](https://auth0.com/docs/libraries/lock/lock-configuration#languagedictionary-object-) `languageDictionary` object.

Here is an example screenshot showing your use case. Note that I configured my Database Connection password policy to **Good** , which is why there’s a requirement for Special Characters.  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/5/f/5fd2d1d7cd54316533d73f010d71a19ea77b3af4.png)

Please let me know if you have any further questions. I would be glad to help.

---

<div class="post-metadata">

**Author:** ![dmc](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dmc/32/13588_2.png) [@dmc](https://community.auth0.com/u/dmc)\
**Post date:** [September 16, 2021, 5:18am UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/8 "2021-09-16T05:18:00Z")

</div>

Thanks @rueben.tiow — it’s not clear to me how the Lock plugin fits in to the New Universal Login Experience.

---

<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:** [September 30, 2021, 5:07pm UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/9 "2021-09-30T17:07:18Z")

</div>

Hi @dmc,

My apologies for the delayed response.

Let me clarify. The New Universal Login Experience is powered by the Lock.js library. Thus, to modify your Universal Login, you will need to configure Lock to your needs. This is where the Lock Configuration Options become relevant, and is used to customize the look and feel of your Universal Login Page.

Circling back to your original question, you can customize the password strength text by doing something like this:

```auto
var lock = new Auth0Lock(config.clientID, config.auth0Domain, {
    languageDictionary: {
      passwordStrength: {
        lowerCase: 'lowercase',
        upperCase: 'uppercase'
      },
    },
    ...
});

```

Hoped this helps! Please let me know if need further assistance, I would be happy to help.

Thank you.

---

<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:** [October 15, 2021, 5:07pm UTC](https://community.auth0.com/t/customise-password-strength-rules-text-in-new-universal-experience/69529/10 "2021-10-15T17:07:43Z")

</div>

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