# Customize New Universal Login Pages \> User variables no longer available for "reset-password" prompt/screen.name

**URL:** <https://community.auth0.com/t/customize-new-universal-login-pages-user-variables-no-longer-available-for-reset-password-prompt-screen-name/123756>\
**Category:** Get Help\
**Tags:** reset-password-prompt-new-experience, login-experience\
**Created:** [December 27, 2023, 2:24pm UTC](https://community.auth0.com/t/customize-new-universal-login-pages-user-variables-no-longer-available-for-reset-password-prompt-screen-name/123756 "2023-12-27T14:24:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wojciech](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wojciech/32/45075_2.png) [@wojciech](https://community.auth0.com/u/wojciech)\
**Post date:** [December 27, 2023, 2:24pm UTC](https://community.auth0.com/t/customize-new-universal-login-pages-user-variables-no-longer-available-for-reset-password-prompt-screen-name/123756/1 "2023-12-27T14:24:58Z")

</div>

Got following code in my new universal login template →

```auto
    {% if user.last_password_reset === undefined and prompt.name === "reset-password" and prompt.screen.name === "reset-password" %} 
    <div> ...render set up initial pw flow </div>
    {% else %}
        {%- auth0:widget -%}
    {% endif %}

```

This code was working as expected last Friday. Today I logged in and for I don’t know what reason, I cannot obtain {{user}}

Do you have any ideas why it is not working but was before?

Should I assume {{user}} will be no longer avail for “reset-password” prompt/screen name (It is surfaced after user obtain change password email)?

[refs](https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates)

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [January 4, 2024, 3:08pm UTC](https://community.auth0.com/t/customize-new-universal-login-pages-user-variables-no-longer-available-for-reset-password-prompt-screen-name/123756/2 "2024-01-04T15:08:52Z")

</div>

Hi @wojciech , welcome to Auth0!

> [@wojciech](#):
>
> hould I assume {{user}} will be no longer avail for “reset-password” prompt/screen name (It is surfaced after user obtain change password email)?

The [user](https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#available-variableshttps://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#available-variables) object is available for screens rendered after user complete the authentication, so not in case of the reset-password screen.

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

Hope this helps!

---

<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:** [January 18, 2024, 3:09pm UTC](https://community.auth0.com/t/customize-new-universal-login-pages-user-variables-no-longer-available-for-reset-password-prompt-screen-name/123756/3 "2024-01-18T15:09:48Z")

</div>

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