# Reset Password link on Web Interface

**URL:** https://discuss.tryton.org/t/reset-password-link-on-web-interface/2659
**Category:** Developer
**Created:** [April 30, 2020, 8:28am UTC](https://discuss.tryton.org/t/reset-password-link-on-web-interface/2659 "2020-04-30T08:28:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![prak](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/prak/32/321_2.png) [@prak](https://discuss.tryton.org/u/prak)
#### Post date: [April 30, 2020, 8:28am UTC](https://discuss.tryton.org/t/reset-password-link-on-web-interface/2659/1 "2020-04-30T08:28:56Z")

</div>

How can we add a reset password link on web interface for Version 5.0? If there is any other way regarding same where in the user can set its own password by clicking on something as “Forgot Password”.

Any help will be useful.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [April 30, 2020, 8:35am UTC](https://discuss.tryton.org/t/reset-password-link-on-web-interface/2659/2 "2020-04-30T08:35:39Z")

</div>

This is not implemented but for me it makes sense to add it as default feature for both clients.

Probably we may want to show it on the login dialog.

---

<div class="post-metadata">

### Author: ![prak](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/prak/32/321_2.png) [@prak](https://discuss.tryton.org/u/prak)
#### Post date: [April 30, 2020, 8:50am UTC](https://discuss.tryton.org/t/reset-password-link-on-web-interface/2659/3 "2020-04-30T08:50:17Z")

</div>

> [@pokoli](#):
>
> Probably we may want to show it on the login dialog.

Yes. Since the default behavior of the user is to find a link with “Forgot Password” where it can restore password on its own.

In a specific case, we use Mobile Number’s of the users for login. So I would like to implment in a manner wherein they can recieve an OTP on their mobile and then can reset their password.

for the same purpose, I had to create a separate Flask based application. But it is not a clean way to do it.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [April 30, 2020, 9:08am UTC](https://discuss.tryton.org/t/reset-password-link-on-web-interface/2659/4 "2020-04-30T09:08:55Z")

</div>

> [@prak](#):
>
> Yes. Since the default behavior of the user is to find a link with “Forgot Password” where it can restore password on its own.

It will be great to [provide a patch](https://www.tryton.org/develop) that implements it.

> [@prak](#):
>
> In a specific case, we use Mobile Number’s of the users for login. So I would like to implment in a manner wherein they can recieve an OTP on their mobile and then can reset their password.

This should be done by overriding the reset\_password button on the user to send the OTP to it’s mobile instead of the default email. And then login with this code.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 30, 2020, 9:59am UTC](https://discuss.tryton.org/t/reset-password-link-on-web-interface/2659/5 "2020-04-30T09:59:46Z")

</div>

> [@pokoli](#):
>
> It will be great to [provide a patch](https://www.tryton.org/develop) that implements it.

Please try first to make a blue print because this is really not that simple. There are many problem to solve with such open feature: how to temper abuse, how to support other authentication method, how to not divulge information about users etc.  
The current design was made to avoid those complication by limiting to authenticated administrator to reset the password.

> [@pokoli](#):
>
> This should be done by overriding the reset\_password button on the user to send the OTP to it’s mobile instead of the default email. And then login with this code.

Well this is simply the `authentication_sms` module.
