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.
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.
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.
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?
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
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.
is working on a reply...