Copied to clipboard

Flag this post as spam?

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


  • Samuel Watts 5 posts 75 karma points
    Jun 06, 2017 @ 11:46
    Samuel Watts
    0

    Cannot connect to my Umbraco backend (Username Or Password incorrect).

    I've tried resetting the password via the database using this command : UPDATE umbracoUser set userdisabled=0, userPassword='/7IIcyNxAts3fvQYe2PI3d19cDU=' where id=0

    and these values -

    userPassword Value : bnWxWyFdCueCcKrqniYK9iAS+7E= Password : default

    userPassword Value : d9xnUXsUah9gycu7D0TpRYcx19c= Password : admin

    userPassword Value : /7IIcyNxAts3fvQYe2PI3d19cDU= Password : password

    All didn't work.

    The version of Umbraco i am using is 7.6.1

    Any help would be appreciated.

    Thanks

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Jun 08, 2017 @ 07:06
    Kevin Jump
    2

    HI

    with Umbraco 7.6.1 the encoding of the password field has been updated, so this means the hash values you are using are probibly wrong.

    you can force umbraco to use the old settings by setting useLegacyEncoding to true in the web.config this might get you into your site.

  • Micha Somers 134 posts 597 karma points
    Jul 01, 2017 @ 11:08
    Micha Somers
    1

    Thanks Kevin!

    Setting useLegacyEncoding back to true was the solution for me.

    Although I had thought about this version specific breaking change when going from 7.5.x => 7.6.0, I didn't think about it again when going from 7.6.0 => 7.6.3!

    Is there a simple way to get to the current Umbraco preferred situation where I could use useLegacyEncoding = false?

    eg. db script with some steps described?

  • Tim 25 posts 112 karma points
    Jun 08, 2017 @ 12:14
    Tim
    1

    I also had to change the minimum password length from 10 to 8 on our Umbraco as our password was only 8 characters and it wouldn't let me log in. (That is done via the same line that the useLegacyEncoding is on)

  • Samuel Watts 5 posts 75 karma points
    Jun 08, 2017 @ 12:24
    Samuel Watts
    0

    ah thankyou! that makes a lot of sense now I think about it

Please Sign in or register to post replies

Write your reply to:

Draft