RadCaptcha in the Login widget: Map the custom Login widget in the backend
After you RadCaptcha in the Login widget: Implement the code of the custom Login widget, you must redirect Sitefinity CMS to use the newly created CustomLoginWidget. To do this, you need to map the widget in the backend:
- Navigate to Administration » Settings » Advanced » Controls » ViewMap and click Create new.
- In the HostType field, enter the following value:
Telerik.Sitefinity.Web.UI.PublicControls.LoginWidget, Telerik.Sitefinity - In the LayoutTemplatePath, enter the path to the widget:
~/CustomLoginControl.ascx
To test the newly created RadCaptcha widget:
- Drag and drop a Login widget to a page.
- Open the widget’s Edit mode.
- Set the ShowLostPasswordLink to True
- Set a value for ChangePasswordPageUrl.
Now you can create the change password page, place it in the Change password widget, and configure it. For more information, see Change password widget.