Copied to clipboard

Flag this post as spam?

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


  • Brian Reimer 30 posts 120 karma points
    May 03, 2017 @ 10:26
    Brian Reimer
    0

    AuthorizeUpgrade - can't login

    Trying to manually update a 7.5.3 site to 7.6 - and gets to the AuthorizeUpgrade screen - after merging and copying files.

    BUT my normal username/password is just giving me a:

    Login failed for user .... (my username)

    What am I missing??

    It's a SQL CE installation - very very simple site.

  • Vidar A. Westrum 23 posts 129 karma points
    May 03, 2017 @ 11:07
    Vidar A. Westrum
    0

    I got the same problem. The console complains about this URL: /umbraco/backoffice/UmbracoApi/Authentication/PostLogin

    400 Bad Request...

    MS SQL, very very simple site. ;)

  • Brian Reimer 30 posts 120 karma points
    May 03, 2017 @ 11:33
    Brian Reimer
    0

    Yes - the same console error here..

  • Vidar A. Westrum 23 posts 129 karma points
    May 03, 2017 @ 11:47
    Vidar A. Westrum
    0

    The log says that the user is locked, but the record in the SQL tells me differently.

  • Tom van Enckevort 100 posts 389 karma points
    May 03, 2017 @ 12:07
    Tom van Enckevort
    105

    Have you checked whether the useLegacyEncoding setting in the web.config has been changed to false?

    It's a breaking change that should only affect new installations, but maybe it has changed your existing ones as well?

    For reference, the change means that passwords are hashed using more secure algorithms, but the newly generated hash would no longer match the password hash stored in the existing database which could be why you can no longer log in.

  • Vidar A. Westrum 23 posts 129 karma points
    May 03, 2017 @ 12:29
    Vidar A. Westrum
    0

    Aha, thanks! So by resetting the passwords instead of changing the setting, would also do the trick?

  • Tom van Enckevort 100 posts 389 karma points
    May 03, 2017 @ 12:31
    Tom van Enckevort
    1

    Yes, that would the other option: resetting the password will save your new password using the new hash and the login should work again afterwards.

    Note that this does apply to all users, so if you have many CMS users or members they would all need to be reset.

  • Vidar A. Westrum 23 posts 129 karma points
    May 03, 2017 @ 12:31
    Vidar A. Westrum
    0

    Thanks alot Tom! Worked like a charm!

    High five!

  • Pavel 11 posts 82 karma points
    Apr 06, 2019 @ 23:47
    Pavel
    0

    upgrading from 7.10.2 to 7.14.0.. changing false to true fixed it, was able to login and complete the upgrade, thanks! high five!

  • Brian Reimer 30 posts 120 karma points
    May 03, 2017 @ 12:35
    Brian Reimer
    0

    Sorry - but how did you do it?

  • Vidar A. Westrum 23 posts 129 karma points
    May 03, 2017 @ 12:40
    Vidar A. Westrum
    0

    In /web.config:

        <!-- Membership Provider -->
    <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
      <providers>
        <clear />
        <add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="10" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" allowManuallyChangingPassword="false" />
        <add name="UsersMembershipProvider" type="Umbraco.Web.Security.Providers.UsersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="10" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" allowManuallyChangingPassword="false" />
      </providers>
    </membership>
    

    change the useLegacyEncoding to true.

    It relates to this: http://issues.umbraco.org/issue/U4-6566

  • Brian Reimer 30 posts 120 karma points
    May 03, 2017 @ 12:43
    Brian Reimer
    0

    Hmm - sorry but didn't work for me :(

  • Vidar A. Westrum 23 posts 129 karma points
    May 03, 2017 @ 12:45
    Vidar A. Westrum
    0

    But your user might be locked now after >=5 attempts before? enter image description here

  • Brian Reimer 30 posts 120 karma points
    May 03, 2017 @ 12:45
    Brian Reimer
    0

    And now it did?

    Hmm - ok.. :)

  • Jeroen Breuer 4861 posts 12139 karma points MVP 3x admin c-trib
    Mar 05, 2018 @ 13:33
    Jeroen Breuer
    0

    I have a similar issue, but the solution provided here didn't work. Could anybody help?

    https://our.umbraco.org/forum/using-umbraco-and-getting-started/90947-installer-not-working-upgrading-from-756-to-792

    Jeroen

  • bh 302 posts 1019 karma points
    Jan 08, 2021 @ 21:04
    bh
    0

    Completing the forgot password wizard worked for me.

Please Sign in or register to post replies

Write your reply to:

Draft