Thanks for the reply. I've had a look at the post you referenced and maybe I'm being dense but I'm still confused. I assume I need to create custom controls for Registration, Password Recovery, etc. Is that correct?
Assuming this was the case I created a custom control named "PasswordRecoveryWidget" with the following code:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PasswordRecoveryWidget.ascx.cs" Inherits="SitefinityWebApp.CustomControls.PasswordRecoveryWidget" %>
<%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Security.Web.UI" Assembly="Telerik.Sitefinity" %>
<%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI" Assembly="Telerik.Sitefinity" %>
I added the control to "Settings>Advanced>Toolboxes>Toolboxes>PageControls>Sections>Login". I created a new page named "Password Recovery" and dragged and dropped my new PasswordRecoveryWidget. Next, I published the page and borwsed to it. The page displays without error but there is no PasswordRecoveryForm
on the page. Clearly I'm doing something wrong here. Looking at the custom control in design view, I see an "Error Rendering Control" (see the attached image).
Regarding the User Registration control; I assume I use UserManager.CreateUser?
Also, the post you referenced indicates that in order for password recovery to work the "the password format should be set to different than Hashed"
. Is it safe to assume that setting this value to "Encrypted" will work and *will not* break login for existing users that were created when the value of this setting was "Hashed".
Lastly, I'm really surprized that these controls don't exist out of the box. User account management is so common that it seems silly to have to create custom controls for functionality that's implemented in just about every website with user login capability.