Copied to clipboard

Flag this post as spam?

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


  • Gavin Faux 15 posts 158 karma points
    Aug 01, 2018 @ 12:11
    Gavin Faux
    0

    Cloud accounts: Migrate Site UsersMembershipProvider to useLegacyEncoding="false"

    For Cloud how do we migrate from legacy password hashes to new version?

    For a standalone install we would either

    a) login to back office, amend web.config to new settings and then save an updated password or

    b) use a dummy install with same machine key & updated web.config settings and to create a new 'master' password; then update DB with this and use password reset feature to allow users to reset passwords.

    Unsure what process should be for 'Cloud/Portal' linked accounts, we don't want to lock ourselves out!

    Anyone have experience of doing this on Cloud?

    For MembershipProvider we can just update web.config and issue new passwords either via back office or own 'Forgot Password' feature; it's the UsersMembershipProvider that we are not sure about.

  • Gavin Faux 15 posts 158 karma points
    Aug 03, 2018 @ 15:36
    Gavin Faux
    100

    If enabled the Umbraco back office Forgotten Password feature is used to reset passwords when useLegacyEncoding is changed.

    Enable the feature via the UmbracoSettings.config

    <allowPasswordReset>true</allowPasswordReset>

    Currently password's must be reset in each environment and reset locally (unless you pull a new clone after reset).

    Resetting a Cloud password via the portal does not reset hashes in databases.

    For further information refer to Umbraco passwords and ASP.NET Machine Keys

Please Sign in or register to post replies

Write your reply to:

Draft