# Email template customization for reset password | for Database username/password

**URL:** <https://community.auth0.com/t/email-template-customization-for-reset-password-for-database-username-password/94887>\
**Category:** Get Help\
**Tags:** email-verification, user-management\
**Created:** [November 22, 2022, 4:27am UTC](https://community.auth0.com/t/email-template-customization-for-reset-password-for-database-username-password/94887 "2022-11-22T04:27:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guillim](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/guillim/32/41424_2.png) [@guillim](https://community.auth0.com/u/guillim)\
**Post date:** [November 22, 2022, 4:27am UTC](https://community.auth0.com/t/email-template-customization-for-reset-password-for-database-username-password/94887/1 "2022-11-22T04:27:44Z")

</div>

Hi,

My closest related topic here is this one : [Sending password change email instead of verification email for a new user](https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713)

However the Auth0 documention says [here](https://auth0.com/docs/customize/universal-login-pages/customize-password-reset-page) :  
_You cannot make customizations conditional based on the Application ID (`client_id`)._

So the solution seems to me obsolete, and I need to find a new one.

Anyone has found a way to customize the password reset template using a post-register hook?

So that when a user clicks on “reset my password” he receives a normal email to reset his password, and when I manually creates his account, the reset email adds a welcoming paragraph.

---

<div class="post-metadata">

**Author:** ![david\_wisecarver](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david_wisecarver/32/37472_2.png) [@david\_wisecarver](https://community.auth0.com/u/david_wisecarver)\
**Post date:** [December 8, 2022, 12:47am UTC](https://community.auth0.com/t/email-template-customization-for-reset-password-for-database-username-password/94887/3 "2022-12-08T00:47:44Z")

</div>

Hi @guillim,

Welcome to Auth0 Community!

You can use liquid syntax to make conditional modification to the Change Password email based on `user.logins_count`. It could looks something like the following:

```auto
{% if user.logins_count == 0 %}
      Welcome new user, change your password....
{% else %}
      Confirm the password change...
{% endif %}

```

Here is a link to our docs with more information about using liquid syntax in email templates: [Customize Email Templates](https://auth0.com/docs/customize/email/email-templates#common-variables)

Hope this helps!

Thanks,  
Dave

---

<div class="post-metadata">

**Author:** ![guillim](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/guillim/32/41424_2.png) [@guillim](https://community.auth0.com/u/guillim)\
**Post date:** [December 8, 2022, 3:14am UTC](https://community.auth0.com/t/email-template-customization-for-reset-password-for-database-username-password/94887/4 "2022-12-08T03:14:45Z")

</div>

I ended up creating a custom Action in the Post-signup Flow. And using a dedicated template i created on my email provider.

---

<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:** [December 22, 2022, 3:14am UTC](https://community.auth0.com/t/email-template-customization-for-reset-password-for-database-username-password/94887/5 "2022-12-22T03:14:53Z")

</div>

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