Sitefinity OOTB Reset Password
sitefinity | .NET, CMS, Sitefinity | 2022-12-20
I configure the OOTB reset password screen for Sitefinity!
Tested and running in v13.3 and V14.4.
Problems / Issues
Previously we have made a mistake about Sitefinity reset password screen.
Today, the article is to showcase the step to configure the reset password screens.
It is slightly different between v14+ and v13 or below when setting up the screen.
Also, the workflow is slightly different if you want to reset password for public user and backend dashboard admin user.
In this article, we will focus on the backend dashboard admin user.
Pre-requisite for the Solution
- Set Security/Membership Provders/Default/Parameters/enablePasswordReset to true
(Please restart core Sitefinity after configuration updated)
- Setup SMTP profile
Solution for v14+ with net core renderer
- Create a page for reset password
- You can either a) Use the OOTB template
The login form
The reset password form
The change password form
- or b) customize the template when setting up the page.
Get the Default template from
- Clone to the project, and name it as Sparks*
- Deploy the widget, and select the override template
- Go to the backendpages /Sitefinity/Administration/BackendPages/Pages and Edit the login page under authentication
- Update the ChangePasswordPageUrl and set ShowLostPasswordLink as True
The ChangePasswordPageUrl follow the reset password page that you have created in step 1.
- Visit /Sitefinity page and in the Login page, it will show Forgot your password? link.
- Click and follow the link to the the Forgot password screen, then submit
- You will receive an email.
- Click and follow the link to reset password. Key in new password and see the password changed successful screen!
- For the customization of email template, can refer to here too
Solution for v13.3 with Bootstrap 4 or 5
- Create 1 page for Reset Password, choose Boostrap 4 or 5 page template.
Install Login Form widget and edit it.
Mark a tick for Allow users to reset password
-
The published page and get the forget password url, e.g.
http://<domain>/auth/resetpassword
(Be-aware to use the correct url, its a multi-views widget, hence, the reset password screen may require another /resetpassword) -
Then go to the backendpages /Sitefinity/Administration/BackendPages/Pages, Edit the login page under authentication
- Update the ChangePasswordPageUrl and set ShowLostPasswordLink as True
The ChangePasswordPageUrl follow the reset password page that you have created in step 1.
- Publish the page, and go to /Sitefinity/Login and in the Login page, it will show Forgot your password? link.
- Click and follow the link to the the Forgot password screen, then submit
- You will receive an email.
- Click and follow the link to reset password. Key in new password and see the password changed successful screen!
- You may also want to customize the Templates to correct URL.