Change Password Widget not Claims Auth.
How do you go about it if you have forms authentification
http://www.sitefinity.com/documentation/documentationarticles/configuring-the-change-password-widget
The password change widget seems to useless in this case.
Somehow basic to an CMS - am I once again missing something?
Markus
Strange that there schould not be a change password widget for forms authenticated sites.
However I found a workaround. There is a Profile Widget which has an Change Password functionallity. Just made copies of the Widget Tamplates and stript most of the not needed stuff out.
Works for me.
http://www.marktold.com/screencast/change_password.swf
Markus
@Telerik
If there is indeed now change password widget for forms authentication can we expect to see one in 5.3 -> PITS
And how about hiding stuff that is not usable in one or the other authentication mode. Login new for example.
Hi Markus, may I ask, how exactly did you achieve this? I noticed there are some password change related fields in profile widget, but have no idea how to use them.
Thank you,
Robert
Dear Robert
I simply stripped out everything but the password part from the profile widget.
Hope that helps.
Markus
<%@ Control Language="C#" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI" Assembly="Telerik.Sitefinity" %>
<%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.ContentUI" Assembly="Telerik.Sitefinity" %>
<%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.PublicControls.BrowseAndEdit" %>
<%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.Fields" Assembly="Telerik.Sitefinity" %>
<%@ Register TagPrefix="sfvalidation" Namespace="Telerik.Sitefinity.Web.UI.Validation.Definitions" Assembly="Telerik.Sitefinity" %>
<
fieldset
class
=
"sfprofileChangePasswordFormWrp"
>
<
sf:SitefinityLabel
runat
=
"server"
id
=
"errorLabel"
Visible
=
"false"
WrapperTagName
=
"div"
HideIfNoText
=
"false"
CssClass
=
"sfprofileFailureMsg"
/>
<
sf:SitefinityLabel
runat
=
"server"
id
=
"successLabel"
Visible
=
"false"
WrapperTagName
=
"div"
HideIfNoText
=
"false"
CssClass
=
"sfprofileSuccessMsg"
/>
<
ol
class
=
"sfprofileFieldsList"
>
<
sf:TextField
ID
=
"currentPassword"
runat
=
"server"
DisplayMode
=
"Write"
IsPasswordMode
=
"true"
Title="<%$ Resources:UserProfilesResources, CurrentPassword %>" CssClass="sfprofileField" WrapperTag="li">
<
ValidatorDefinition
MessageCssClass
=
"sfError"
Required
=
"true"
/>
</
sf:TextField
>
<
sf:TextField
ID
=
"newPassword"
runat
=
"server"
DisplayMode
=
"Write"
IsPasswordMode
=
"true"
Title="<%$ Resources:Labels, NewPasswordText %>" CssClass="sfprofileField" WrapperTag="li">
<
ValidatorDefinition
MessageCssClass
=
"sfError"
Required
=
"true"
/>
</
sf:TextField
>
<
sf:TextField
ID
=
"confirmNewPassword"
runat
=
"server"
DisplayMode
=
"Write"
IsPasswordMode
=
"true"
Title="<%$ Resources:UserProfilesResources, ConfirmNewPassword %>" CssClass="sfprofileField" WrapperTag="li">
<
ValidatorDefinition
MessageCssClass
=
"sfError"
>
<
ComparingValidatorDefinitions
>
<
sfvalidation:ComparingValidatorDefinition
ControlToCompare
=
"newPassword"
Operator
=
"Equal"
ValidationViolationMessage="<%$ Resources:ErrorMessages, CreateUserWizardDefaultConfirmPasswordCompareErrorMessage %>"/>
</
ComparingValidatorDefinitions
>
</
ValidatorDefinition
>
</
sf:TextField
>
</
ol
>
<
div
class
=
"sfprofileLnkWrp"
>
<
asp:LinkButton
runat
=
"server"
ID
=
"saveChanges"
Text="<%$ Resources:UserProfilesResources, SaveChanges %>" CssClass="sfprofileSaveLnk" />
<
asp:HyperLink
runat
=
"server"
ID
=
"cancel"
Text="<%$ Resources:UserProfilesResources, Cancel %>" CssClass="sfprofileCancelLnk" />
</
div
>
Hi Markus, works for me, thank you!
@Robert
Glad the workaround worked :-)
Markus