After you RadCaptcha in the Login widget: Implement the markup of the custom Login widget for the custom Login widget, you need to implement the code and logic behind the widget. The result is that when the user clicks the Forgot your password? link on the login screen, the captcha field is displayed and the character sequence, that the user enters, is validated.
To implement the required code, in your project, select the custom widget class. In this case, this is the CustomLoginControl.ascx.cs class.
EXAMPLE: For more information about the contents of the file, see the CustomLoginControl.ascx.cs in Sitefinity documentation-samples on GitHub.
When the user clicks the Forgot your password? link, the LostPasswordButton_Click event is initialized and the captcha panel is displayed. The ValidateCaptchaButton_Click checks whether the character sequence that the user enters is valid and hides the captcha panel. The rest of the logic, that is checking if the email address belongs to a registered user and sending the password recovery email, is handled by Sitefinity.
Next, you need to map in the backend the custom Login widget to the standard one.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2021 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity