> For the complete documentation index, see [llms.txt](https://pin-studios.gitbook.io/login-system-pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pin-studios.gitbook.io/login-system-pro/tutorial/mail/request-password-reset.md).

# Request Password Reset

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

## Input Type

* Email - input user email to send

## OnCompleted

{% content-ref url="/pages/OwrNPpYGhI5bW9u2hIpx" %}
[On Completed Delegate](/login-system-pro/tutorial/on-completed-delegate.md)
{% endcontent-ref %}

## PHP

{% code title="request\_password\_reset.php" overflow="wrap" %}

````php
```php
$resetLink = "http://localhost/loginsystempro/reset_password.php?token=$resetToken";
```
Change localhost/loginsystempro -> to your own domain
````

{% endcode %}

## Example

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

Using Temp Email to test

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

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

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

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

When using the old password , will cant login now

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

When using new password

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