# Wrong link when reseting password

**URL:** <https://forum.dimagi.com/t/wrong-link-when-reseting-password/9722>\
**Category:** Developers\
**Created:** [March 24, 2023, 7:39am UTC](https://forum.dimagi.com/t/wrong-link-when-reseting-password/9722 "2023-03-24T07:39:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babacar\_Gueye](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/b/90db22/32.png) [@Babacar\_Gueye](https://forum.dimagi.com/u/Babacar_Gueye)\
**Post date:** [March 24, 2023, 7:39am UTC](https://forum.dimagi.com/t/wrong-link-when-reseting-password/9722/1 "2023-03-24T07:39:33Z")

</div>

Hi,  
i have a monolith CommCare instance but face an issue about password reset.  
When i reset a password for a web user, the email arrives but with a wrong link called [example.com](http://example.com) [https://example.com/accounts/password\_reset\_confirm/Mjg/blgiyt-74f72c98db9761507b213dbc7a86e378/](https://example.com/accounts/password_reset_confirm/Mjg/blgiyt-74f72c98db9761507b213dbc7a86e378/)  
Where i can change this ?. it had never happenned before  
Thanks

---

<div class="post-metadata">

**Author:** ![smittieC](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@smittieC](https://forum.dimagi.com/u/smittieC)\
**Post date:** [April 18, 2023, 12:41pm UTC](https://forum.dimagi.com/t/wrong-link-when-reseting-password/9722/2 "2023-04-18T12:41:28Z")

</div>

Hi @Babacar_Gueye

Apologies for the delayed response. If you haven't managed already, the `default_from_email` in your environment's `public.yml` file might be what you're looking for (see the [docs](https://commcare-cloud.readthedocs.io/en/latest/installation/2-manual-install.html?highlight=default_from_email#install-commcare-cloud:~:text=Change%20%E2%80%9Cmonolith.commcarehq.test%E2%80%9D%20to%20your%20real%20domain%20name%2C)). If that is correct and you're still facing this issue, make sure the the `DEFAULT_FROM_EMAIL` environment variable is not being overwritten somewhere in your CommCareHQ environment.

I hope this helps.

---

<div class="post-metadata">

**Author:** ![fchiyenda](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/f/22d042/32.png) [@fchiyenda](https://forum.dimagi.com/u/fchiyenda)\
**Post date:** [April 20, 2023, 9:41am UTC](https://forum.dimagi.com/t/wrong-link-when-reseting-password/9722/3 "2023-04-20T09:41:14Z")

</div>

You can also try this got to [http://yourserver.com/admin/sites/site/](http://yourserver.com/admin/sites/site/) change your domain name to your actual domain name eg. [example.com](http://example.com)
