Copied to clipboard

Flag this post as spam?

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


  • martinrousev 59 posts 23 karma points
    Feb 23, 2010 @ 12:50
    martinrousev
    0

    I upgraded umbraco to latest version and now I can't log in.

    Hi,

    I have the following problem. While creating a new content a message appeared asking me if I want to upgrade to the latest build. "Sure, why not?" and I upgraded it. Now I can't log into my administration dashboard with any of the already created users. After I enter credentials the page reloads itself and asks for credentials again. I opened the database and checked the passwords. Since they are stored in clear text one can be sure that the password is correct. I can open the site and browse it normally but the dashboard won't log me in. 

    My version before the upgrade was 4.0.0 - first after the beta.

    Windows 2003 with IIS 6.0 and ASP.NET 2.0

     

    Thank you for your time. 

  • dandrayne 1138 posts 2262 karma points
    Feb 23, 2010 @ 12:53
    dandrayne
    0

    You may need to change the settings for the user membershipprovider int he web.config to change the password format back to clear, if you've updated the web.config in your update.  This tip if from 3->4 upgrade but may apply here

    From

    <add name="UmbracoMembershipProvider" 
    type="umbraco.providers.members.UmbracoMembershipProvider"
    enablePasswordRetrieval="false"
    enablePasswordReset="false"
    requiresQuestionAndAnswer="false"
    defaultMemberTypeAlias="Another Type"
    passwordFormat="Hashed" />

    To

    <add name="UmbracoMembershipProvider" 
    type="umbraco.providers.members.UmbracoMembershipProvider"
    enablePasswordRetrieval="false"
    enablePasswordReset="false"
    requiresQuestionAndAnswer="false"
    defaultMemberTypeAlias="Another Type"
    passwordFormat="Clear" />

    (via http://www.diaryofaninja.com/blog/2009/09/30/upgrading-umbraco-from-3-to-4-ndash-not-all-smooth-sailing)

    Dan

  • martinrousev 59 posts 23 karma points
    Feb 23, 2010 @ 13:00
    martinrousev
    0

    Thanks Dan,

    There was no passwordFormat option in my web.config file. I added passwordFormat="Clear" to the membership provider but no luck. I get the same behaviour. 

  • Marcus Grönström 2 posts 2 karma points
    Feb 23, 2010 @ 13:26
    Marcus Grönström
    0

    Do you have many users in your backend?

    What about programmatically hash the passwords?

  • martinrousev 59 posts 23 karma points
    Feb 23, 2010 @ 13:33
    martinrousev
    0

    Thanks Macke,

    I was just testing the same. I found this http://our.umbraco.org/forum/using/ui-questions/4790-ouch-forgot-admin-password-how-to-reset and in the database for one user I entered bnWxWyFdCueCcKrqniYK9iAS+7E= witch according to the post is 'default', but no luck. 

Please Sign in or register to post replies

Write your reply to:

Draft