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 4047 posts 12900 karma points MVP 2x
    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 3046 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.

Please Sign in or register to post replies

Write your reply to:

Draft