# Password Reset E-mal Automatically changes E-mail

**URL:** <https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443>\
**Category:** Get Help\
**Tags:** password-reset, change-password\
**Created:** [July 10, 2017, 9:01pm UTC](https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443 "2017-07-10T21:01:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlovin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jlovin/32/4201_2.png) [@jlovin](https://community.auth0.com/u/jlovin)\
**Post date:** [July 10, 2017, 9:01pm UTC](https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443/1 "2017-07-10T21:01:34Z")

</div>

When posting to [https://xxx](https://xxx),[auth0.com/dbconnections/change\_password](http://auth0.com/dbconnections/change_password) with a body of

`
{
  "client_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "email": "bob@example.com",
  "connection": "Username-Password-Authentication"
}
` it will send the password reset E-mail correctly. However, once I hit either the link or confirm in the E-mail, it will automatically "reset" the password without prompting the user for the new password.

Is there something I’m doing wrong or did not configure correctly?

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [July 11, 2017, 5:11am UTC](https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443/2 "2017-07-11T05:11:37Z")

</div>

Can you confirm a couple of things for me to investigate:

- Is Change Password flow v2 enabled on your tenant? You can check this from:  
[https://manage.auth0.com/#/account/advanced](https://manage.auth0.com/#/account/advanced).
- Have you configured the email settings: Dashboard \> Emails \> Change Password

---

<div class="post-metadata">

**Author:** ![jlovin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jlovin/32/4201_2.png) [@jlovin](https://community.auth0.com/u/jlovin)\
**Post date:** [July 11, 2017, 6:32am UTC](https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443/3 "2017-07-11T06:32:13Z")

</div>

Hi @prashant ,

1. The Change Password flow v2 is enabled
2. No, we’re using the default E-mail.

I’ve done some further testing. If I open the E-mail on my phone and click on the link/button, it will not automatically change password with null which is what I expect since I did not specify a password in the request. However, on chrome/firefox/edge/ie on my pc, it will 9/10 times automatically change the password with null.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [July 11, 2017, 6:50am UTC](https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443/4 "2017-07-11T06:50:13Z")

</div>

@jlovin thanks for clarifying. This behaviour is quite odd - I haven’t been able to reproduce this, nor have I come across it before. Which email provider/client are you using? i.e. are the emails being sent to a Gmail account, or something else?  
One thing to test would be to try a different email address/client/provider to see whether this could be the issue.

---

<div class="post-metadata">

**Author:** ![jlovin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jlovin/32/4201_2.png) [@jlovin](https://community.auth0.com/u/jlovin)\
**Post date:** [July 11, 2017, 6:54am UTC](https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443/5 "2017-07-11T06:54:10Z")

</div>

@prashant I’ve been able to replicate with Outlook and GMail

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [July 11, 2017, 7:39am UTC](https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443/6 "2017-07-11T07:39:12Z")

</div>

Can you please try capturing a HAR file and a screen capture of this behaviour:  
[Generate and Analyze HAR Files](https://auth0.com/docs/har). Please remove any sensitive information from the file before sending it through. You can upload it to Google Drive or Onedrive, and restrict access to the link for `@auth0.com` email addresses using [sharelock.io](http://sharelock.io).

---

<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 2, 2018, 5:55am UTC](https://community.auth0.com/t/password-reset-e-mal-automatically-changes-e-mail/7443/7 "2018-03-02T05:55:15Z")

</div>


