Copied to clipboard

Flag this post as spam?

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


  • Nguyen Dung Tri 106 posts 606 karma points
    Aug 15, 2016 @ 08:10
    Nguyen Dung Tri
    1

    How to get Member password?

    Hello,

    I want to get member password. But when I got the password, it is not a real password when it contents some characters like "WWQRCSb3HLy/5+k2PmXAvr1Vj4s=" and this is not readable and different my real password.

    So how can use C# and Umbraco libraries to retrieve user password (real password)? Is there a function convert encoded password back to real password?

  • jivan thapa 194 posts 681 karma points
    Aug 15, 2016 @ 09:14
  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Aug 15, 2016 @ 09:28
    Alex Skrypnyk
    0

    Hi Nguyen,

    Yes, It's not possible if password was hashed, but you can set passwordFormat to = clear, and then new members passwords will not be hashed and you will be able to get it.

    <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
          <providers>
            <clear />
            <add name="UmbracoMembershipProvider"
                type="umbraco.providers.members.UmbracoMembershipProvider"
                enablePasswordRetrieval="true"
                enablePasswordReset="false"
                requiresQuestionAndAnswer="false"
                defaultMemberTypeAlias="Another Type"
                passwordFormat="clear" />
          </providers>
        </membership>
    

    Hope it will help you!

    Thanks,

    Alex

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Aug 15, 2016 @ 09:47
    Alex Skrypnyk
    0

    But it's not recommended to change passwordFormat to clear, it's not best practice of security. But in some cases you need it.

  • carlu 42 posts 131 karma points
    Oct 19, 2016 @ 03:48
    carlu
    0

    Can You tell me ,how do i get that hash password.i m trouble to get that password.Kindly help me

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies