Copied to clipboard

Flag this post as spam?

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


  • Dan 1288 posts 3921 karma points c-trib
    Dec 16, 2009 @ 19:17
    Dan
    0

    Member log-in not working

    Hi,

    I've just added a member-protected page to a site.  I've been through the demo here: http://hartvig.com/screencasts/members.htm (a new Umbraco TV video would be very welcomed by the way as this one is way out of date).  I'm sure I've set everything up okay, but when I try to log-in I'm just returned to the log-in form - it just refreshes the page.

    I've done some extensive Googling on this (as the search on the forum here doesn't work too well) and came up with a post saying that perhaps it's because the member passwords are hashed in my web.config file, but the member log-in macro is using unhashed passwords.

    Is this true?  If so, the Members package needs upgrading as it's quite a fundamental bug now that the default Umbraco installation does hash passwords.

    Any ideas anyone?

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Dec 16, 2009 @ 20:12
    Richard Soeteman
    1

    Hi Dan,

    Since umbraco 4.0.x is using a membership provider I would use the asp.net login çontrol to login to provide login functionality to your site. Just create a simple usercontrol add the login control onto that page and it should be working.

    Hope it helps you,

    Richard

  • Dan 1288 posts 3921 karma points c-trib
    Dec 16, 2009 @ 21:59
    Dan
    0

    Thanks Richard.  I sorted it actually.  I had a weird error when I first created the member log-in saying something about an old password not being present.  I looked in the database directly and found the password field to be blank, so I deleted all member details and re-created them and it now works okay, so I'm assuming therefore that the password hashing is no longer an issue.

    I take your point about the .net login control and will give that a whirl next time to see how it compares.  Cheers.

Please Sign in or register to post replies

Write your reply to:

Draft