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.

PREREQUISITES: You must have configure the email notification settings.
For more information, see Configure email settings.

Place the widget on the page

You can place a Reset password widget only inside a Sectionwidget.
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.

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 (Edit).
    The Reset password page opens.

In the Select pages section you can do the following:

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 (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.

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 (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:

Label

Description

Default value

Reset password header

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

Reset password

Password field label

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

New password

Repeat password field label

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

Repeat new password

Security question field label

The label of the security question dropdown, if implemented

Secret question:

Save button

The label of the button that sends the newly entered password

Save

Success message

The message that indicates that the password was successfully changed

Your password is successfully changed.

Error message

The message that indicated that the password change failed

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

Back link

The text of the link to the login page

Back to login

Required fields error message

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

All fields are required.

Passwords mismatch error message

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

New password and repeat password don't match.

Forgotten password header

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

Forgot your password?

Forgotten password label

The instructional text of the

Reset password widget

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

Email field label

The label of the username field

Email

Send button

The label of the button that triggers the password reset request

Send

Forgotten password submit message

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

You sent a request to reset your password to

Forgotten password link message

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

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

Invalid email format message

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

Invalid email format.

Field is required message

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

Field is required.

Save your changes.

Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.