Copied to clipboard

Flag this post as spam?

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


  • Paul D. 12 posts 32 karma points
    Feb 05, 2010 @ 15:52
    Paul D.
    0

    how generate new password?

    i use a member controls

     

    and when i try get my lost password, I came a letter with the password hash

     

    how generate new password? and send new, and save new hash in db

     

    what hash method a used?

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Feb 05, 2010 @ 16:02
    Richard Soeteman
    4

    Hi Paul,

    You can generate a new password using

    Membership

     

    .GeneratePassword(Membership.MinRequiredPasswordLength, Membership.MinRequiredNonAlphanumericCharacters);

    Default Umbraco is using a Hashed format, you can change it by modifying the PasswordFormat Attribute on the Mmebership provider in the web.config file.

    Cheers,

    Richard

  • Aaron Powell 1708 posts 3044 karma points c-trib
    Feb 05, 2010 @ 21:49
    Aaron Powell
    0

    Easiest way is to change the PasswordFormat to plain, then log in with the hashed value, change the PasswordFormat back and update your password.

  • 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