# Change Forgot/Reset Password settings

The Forgot/Reset Password settings tab allows you to configure the behaviour of the account recovery process for your Authgear project.

## Enable Reset Password

Select a login method and navigate to the password settings tab. The login method chosen controls how the user can reset their password:

* Phone (OTP only)
* Email (link or OTP)
* Both

If both options are available, the user will be able to choose between using phone or email for account recovery.

### Recovery via phone

You can choose how you want the OTP to be delivered. In the following example, the user will receive an OTP via "WhatsApp or SMS". This means the user can select their preferred method during reset.

<figure><img src="/files/JUinRSYYI1OkJ0opYrN4" alt=""><figcaption></figcaption></figure>

The valid duration (in seconds) for the OTP or reset link can also be customized. This duration does **not** determine the minimum delay before resending OTPs or links.

As an example, if OTP is enabled as the recovery method, users will see the following screen to verify their identity during password reset:

<figure><img src="/files/vpWftpJSK4pAzwoBfQT5" alt=""><figcaption></figcaption></figure>

Once you're done, save your changes to enable the new configuration.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.authgear.com/authentication-and-access/authentication/passwords/forgot-reset-password-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
