Copied to clipboard

Flag this post as spam?

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


  • Bob 15 posts 64 karma points
    Jun 03, 2015 @ 16:07
    Bob
    0

    Password reset hashing issue

    Hi,

    I have implemented a password reset function for forgotten passwords.

    I run:

    foundMember.ChangePassword(foundMember.ResetPassword(), newPassword);

    and email newPassword to the user.

    If I have the passwordFormat as Clear in web.config, everything works correctly. If the value is 'Hahsed' in web.config, the value appears to be hashed, but I can't use the value of newPassword as my new password in the login form. If I change the password in the CMS, I can use the login form without issue too, and both UmbracoMembershipProvider and UsersMembershipProvider have passwordFormat="Hashed".

    I'm running Umbraco version 7.2.5 assembly: 1.0.5610.18894.

    Please could someone advise?

    Thanks,

    Bob

Please Sign in or register to post replies

Write your reply to:

Draft