My problem is that when I submit the login form on the front end, I am just presented with the form - it doesn't display the 'logged in as' message. When I used the register page to create an account, I set my 'protected' page as the redirect to page. I was able to create an account via the register form, and then view the protected page. Once I logged out, I could not log back in again.
It looks like the tutorial was created using a much older version of Umbraco than I'm using - is this likely to be the cause?
Any suggestions on how or where I should start to look on this one would be very helpful.
I looked in my web config and found this part, I don't know if it was the correct part, but this is from the new site's (the one that isn't working) web.config
I removed the passwordformat="hashed" from these two sections, and it seems to be mostly working now. Is there any better way around it, and/or is there any drawbacks to doing it this way?
member controls issue - can't log in?
I have installed the member controls package to a clean install, and run through the tutorial here: http://hartvig.com/screencasts/members.htm
My problem is that when I submit the login form on the front end, I am just presented with the form - it doesn't display the 'logged in as' message. When I used the register page to create an account, I set my 'protected' page as the redirect to page. I was able to create an account via the register form, and then view the protected page. Once I logged out, I could not log back in again.
It looks like the tutorial was created using a much older version of Umbraco than I'm using - is this likely to be the cause?
Any suggestions on how or where I should start to look on this one would be very helpful.
I ran this on an older version, and it worked fine. Re-traced all my steps and it still won't work on the new build.
What version are you using for the old build and new build?
Whoops, didn't finish sentence.
Because (I think it was 4.0.1) the members passwords became hashed and so you may have to add password="hashed" to your web.config
Thank you - old version was 4.0.0RC, new version is umbraco v 4.0.1 (Assembly version: 1.0.3373.718
Please could you expand on the web.config change? do I just drop that line in anywhere or is it added to an existing part?
Thanks again for the help!
I looked in my web config and found this part, I don't know if it was the correct part, but this is from the new site's (the one that isn't working) web.config
<!-- Membership Provider -->
<membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" />
<add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
</providers>
</membership>
I removed the passwordformat="hashed" from these two sections, and it seems to be mostly working now. Is there any better way around it, and/or is there any drawbacks to doing it this way?
I dont think there is as all the passwords are not hashed in your current environment so adding it back will just not allow users to login
But removing the passwordformat should not cause any problems.
Tom
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.