# Is there a way to hide the forgot password link on New Universal Login?

**URL:** <https://community.auth0.com/t/is-there-a-way-to-hide-the-forgot-password-link-on-new-universal-login/102469>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [March 14, 2023, 3:15am UTC](https://community.auth0.com/t/is-there-a-way-to-hide-the-forgot-password-link-on-new-universal-login/102469 "2023-03-14T03:15:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawid.karszniewicz](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dawid.karszniewicz](https://community.auth0.com/u/dawid.karszniewicz)\
**Post date:** [March 14, 2023, 3:15am UTC](https://community.auth0.com/t/is-there-a-way-to-hide-the-forgot-password-link-on-new-universal-login/102469/1 "2023-03-14T03:15:57Z")

</div>

As the question title states, is there a way I can hide the Forgot Password? link for a custom Auth0-hosted database? I’m not using Lock.js, just the new universal login and while I can use a blank space for the Forgot Password link, it doesn’t present well.

I know I can use allowForgotPassword: false on the custom HTML, but then I lose the styling from Universal Login.

Any help is kindly appreciated 🙂

Kind regards,

Dave.

---

<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:** [March 14, 2023, 9:16pm UTC](https://community.auth0.com/t/is-there-a-way-to-hide-the-forgot-password-link-on-new-universal-login/102469/3 "2023-03-14T21:16:09Z")

</div>

Hi @dawid.karszniewicz,

Welcome to the Auth0 Community!

To hide the Forgot Password from the New Universal Login, you will need to call the [Management API’s Update a user endpoint](https://auth0.com/docs/api/management/v2#!/Connections/patch_connections_by_id) and pass in the `disable_self_service_change_password: true` option in the request.

Doing so will remove the forgot password link from the Universal Login page.

Let me also mention that when using the `options` parameter in the request, the whole `options` object will be overridden, so you will want to ensure that all parameters are present.

For example:

```auto
{
  "options": {
    "disable_self_service_change_password": true,
    //rest of options object
  }
} 

```

And if you wish to revert your changes, you can pass the same body and set `disable_self_service_change_password: null` instead of true.

```auto
{
  "options": {
    "disable_self_service_change_password": null,
    //rest of options object
  }
} 

```

I hope this helps!

Please let me know if there’s anything else I can do to help.

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:** [March 28, 2023, 9:18pm UTC](https://community.auth0.com/t/is-there-a-way-to-hide-the-forgot-password-link-on-new-universal-login/102469/5 "2023-03-28T21:18:36Z")

</div>

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