Copied to clipboard

Flag this post as spam?

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


  • Jin Botol 134 posts 287 karma points
    May 25, 2018 @ 03:31
    Jin Botol
    0

    Problem updating members password using Umbraco version 7.10.3

    I'm just wonder if anyone can help me.

    My register function it's not working after I update my Umbraco to 7.10.3 I got an error in memberService.SavePassword

    This provider does not support manually changing the password

    Stack Trace:

       [NotSupportedException: This provider does not support manually changing the password]
       Umbraco.Core.Security.MembershipProviderBase.ChangePassword(String username, String oldPassword, String newPassword) +403
       Umbraco.Core.Services.MemberService.SavePassword(IMember member, String password)
    

    I found that the solution for this is to set to allowManuallyChangingPassword to false. But I can't locate this in my Web.Config.

    Thanks in advance,

    Jin

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 25, 2018 @ 17:41
    Jan Skovgaard
    0

    Hi Jin

    I just had a look in the web.config for the Umbraco 7.10.3 install and I believe that the attribute you mention should be set on this element (Full config snippet from the web.config)

    But I suppose that it should already be there depending on how you did your upgrade to 7.10.3 of course - Maybe you should do a check on your current web.config file against a "clean" web.config file from the 7.10.3 install to make sure you have got all the possible changes merged into your web.config using a tool like http://winmerge.org/ if you have not done so already? :)

    If you have not already read Shannons comments about using this old method it would probably also be a good idea to read what he writes about the above method her http://issues.umbraco.org/issue/U4-10361 and here https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/87391-creating-new-members-password-is-stored-as-plain-text since this method is no longer recommended to be used so if possible a code refactor might be even better :)

    I hope this helps!

    Cheers, Jan

  • Jin Botol 134 posts 287 karma points
    May 26, 2018 @ 05:04
    Jin Botol
    100

    Hi Jan,

    Thanks for your reply.

    I already fixed it. By adding allowManuallyChangingPassword="true" in UmbracoMembershipProvider

    <add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" allowManuallyChangingPassword="true" .....
    

    Cheers,

  • 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