I am trying to fetch user's password on a content delivery site using below code snippet. But getting this exception
This Membership Provider has not been configured to support password retrieval.
var userRecord = Membership.GetUser(user.Name,true); password = userRecord.GetPassword();
I also tried configuring membership provider using below config, application throws an error
<add name="sql" type="System.Web.Security.SqlMembershipProvider" connectionStringName="core" applicationName="sitecore" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" enablePasswordRetrieval="false" />
Configured settings are invalid: Hashed passwords cannot be retrieved. Either set the password format to different type, or set enablePasswordRetrieval to false.
Has anyone tried retrieving user's password?
Build below feature for Content delivery which is already available for Content Management