# Reset password widget

## Overview

You use the *Reset password* widget to enable users to reset their password, in case they have forgotten it.

You can give this option to the users in the *Login form* widget, when users enter their credentials.\
The widget requires the user to provide a valid email and sends a link to the email for resetting the password.

> info **PREREQUISITES**: You must have configure the email notification settings.\
> For more information, see [Configure email settings](https://www.progress.com/documentation/sitefinity-cms/administration-configure-email-settings).

## Place the widget on the page

You can place a *Reset password* widget only inside a *Section* widget.\
To do this, perform the following:

1. Inside a column from the *Section* widget, click *Add widget here…*
2. Select the *Login & Users* tab.
3. Click the *RESET PASSWORD* widget.\
   The widget is placed inside the selected column of the *Section* widget.

> success **RESULT**: The widget displays the *Email* field and the *Send* button.\
> You can change these labels in the advanced widget settings.

## Widget settings

To open the widget settings, perform the following:

1. In the page editor, hover over the widget.
2. Click the toggle menu in the widget label.
3. Click ![DotNetCore8](https://www.progress.com/documentation/sitefinity-cms/assets/e29dbb581da97d8aa6aad6943253dd7a/dotnetcore8.jpg "DotNetCore8") (*Edit*).\
   The *Reset password* page opens.

In the *Select pages* section you can do the following:

### Display link to the login page

If you want to provide the users the option to go back to the login page, you can display a link to the page.

To do this, under *Login page*, click ![Add](https://www.progress.com/documentation/sitefinity-cms/assets/ed18f87316e449f58adc9531a6244938/add.png "Add") (*Select page*) and select a page from your website.\
The page must have the *Login form* widget.

The *Reset password* widget displays the *Back to login* link.

In *Display setting* section, you can do the following:

### Change the template

To change the template that the *Reset password* widget uses, select the new template in *Reset password template* the dropdown box.

You must first have created a custom template.\
For more information, see [ASP.NET Core pages and templates](https://www.progress.com/documentation/sitefinity-cms/create-an-asp.net-core-page).

### Configure the widget margins

In *Margins*, you can choose the margins between the text and the column where it is placed.\
Choose from the predefined values of none, small, medium, or large.

Save your changes

## Advanced widget settings

To open the advanced settings, in the upper-right corner of the *Reset password* widget page, click  ![DotNetCore11](https://www.progress.com/documentation/sitefinity-cms/assets/0b5bf6d61861bf099d7f849dde3e94ea/settings-dotnetcore.jpg "DotNetCore11") (*Advanced settings*).

* In *Label*, you can enter a specific name for this widget.  This name will be displayed in:
  * The page editor as a label for the widget when you hover over it.
  * In the treeview with the page structure in the right pane of the page editor.
* In *CSS class*, you can enter individual CSS class for the *Reset password* widget.

Save your changes.

### Configure the labels of the widget

You can change the following labels:

 <table>
<tbody>
<tr>
<td>

<strong>Label</strong>

</td>
<td>

<strong>Description</strong>

</td>
<td>

<strong>Default value</strong>

</td>
</tr>
<tr>
<td>

<em>

Reset password
header</em>

</td>
<td>

The label that is displayed when the user is taken to reset the password

</td>
<td>

Reset password

</td>
</tr>
<tr>
<td>

<em>Password field label</em>

</td>
<td>

The label of the field where the user enters the new password

</td>
<td>

New password

</td>
</tr>
<tr>
<td>

<em>Repeat password field label</em>

</td>
<td>

The label of the field where the user repeats the new password

</td>
<td>

Repeat new password

</td>
</tr>
<tr>
<td>

<em>Security question field label</em>

</td>
<td>

The label of the security question dropdown, if implemented

</td>
<td>

Secret question:

</td>
</tr>
<tr>
<td>

<em>Save button</em>

</td>
<td>

The label of the button that sends the newly entered password

</td>
<td>

Save<br>

</td>
</tr>
<tr>
<td>

<em>Success message</em>

</td>
<td>

The message that indicates that the password was successfully changed

</td>
<td>

Your password is successfully changed.

</td>
</tr>
<tr>
<td>

<em>Error message</em>

</td>
<td>

The message that indicated that the password change failed

</td>
<td>

You are unable to reset password. Contact your administrator for assistance.<br>

</td>
</tr>
<tr>
<td>

<em>Back link</em>

</td>
<td>

The text of the link to the login page

</td>
<td>

Back to login

</td>
</tr>
<tr>
<td>

<em>Required fields error message</em>

</td>
<td>

The message that is displayed when a required field is not filled out

</td>
<td>

All fields are required.

</td>
</tr>
<tr>
<td>

<em>Passwords mismatch error message</em>

</td>
<td>

The message that is displayed when the new password and its confirmation do not match

</td>
<td>

New password and repeat password don't match.

</td>
</tr>
<tr>
<td>

<em>Forgotten password header</em>

</td>
<td>

The label of the widget that is displayed on the frontend page

</td>
<td>

Forgot your password?

</td>
</tr>
<tr>
<td>

<em>Forgotten password label</em>

</td>
<td>The instructional text of the <em>

Reset password
</em> widget</td>

<td>

Enter your login email address and you will receive an email with a link to reset your password.

</td>
</tr>
<tr>
<td>

<em>Email field label</em>

</td>
<td>

The label of the username field

</td>
<td>

Email

</td>
</tr>
<tr>
<td>

<em>Send button</em>

</td>
<td>

The label of the button that triggers the password reset request

</td>
<td>

Send<br>

</td>
</tr>
<tr>
<td>

<em>Forgotten password submit message</em>

</td>
<td>

The message displayed after the user sends the request for password change

</td>
<td>

You sent a request to reset your password to

</td>
</tr>
<tr>
<td>

<em>Forgotten password link message</em>

</td>
<td>

The message that is displayed to instruct the user to follow the link in their email, after they send a request for password change

</td>
<td>

Use the link provided in your email to reset the password for your account.

</td>
</tr>
<tr>
<td>

<em>Invalid email format message</em>

</td>
<td>

The message that is displayed when an invalid email format is entered

</td>
<td>

Invalid email format.

</td>
</tr>
<tr>
<td>

<em>Field is required message</em>

</td>
<td>

The message that is displayed when a required field is not filled out

</td>
<td>

Field is required.

</td>
</tr>
</tbody>
</table>

Save your changes.
