Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan 1288 posts 3921 karma points c-trib
    Aug 06, 2010 @ 12:10
    Dan
    0

    Member password reminder: Membership provider does not support password retrieval or reset.

    Hi,

    I have a simple .NET membership log-in control on my site and want to include a password reminder facility too.  However, when I implement a standard .NET password recovery user control I get the following error when submitting:

     

    Membership provider does not support password retrieval or reset.

    Can anyone suggest how to get this working?

    Thanks

  • Sascha Wolter 615 posts 1101 karma points
    Aug 06, 2010 @ 12:28
    Sascha Wolter
    0

    +1 need that for my next site as well

  • Jamie Howarth 306 posts 773 karma points c-trib
    Aug 06, 2010 @ 12:29
    Jamie Howarth
    0

    I'm investigating updating the membership provider and will keep people posted accordingly.

    The current codebase supports custom membership providers but not in a robust way, and needs to.

    Benjamin

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Aug 06, 2010 @ 12:37
    Ismail Mayat
    1

    Dan,

    Passwords are hashed and you cannot recover hashed password. You could write implement password recovery that resets the password to something random and new and that can be sent out.

    Regards

    Ismail

  • Dan 1288 posts 3921 karma points c-trib
    Aug 06, 2010 @ 12:49
    Dan
    0

    Ah, thanks Ismail/Benjamin.  Thinking about it, wasn't there a package which provided membership controls?  I vaguely remember using it, but can't find it in the package repo.

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Aug 06, 2010 @ 13:11
    Ismail Mayat
    0

    Dan,

    Its quite old and it wont handle the hashed password. You could hack the code for the password recover and change it to password reset, unless in your web.config password is not set to hashed then you could recover but given you get error message it must be hashed.

    Regards

    Ismail

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Apr 05, 2011 @ 16:14
    Marc Love (uSkinned.net)
    0

    I am working on password retrieval at the moment and changing the web.config setting to the following worked for me:

            <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="TestType" />

Please Sign in or register to post replies

Write your reply to:

Draft