This project is read-only.

Issues with login

Topics: Troubleshooting
Jul 12, 2013 at 12:46 PM
Hi, I have issues to login in a orchard page from my dev machine. I had issues in database and i copied production database to my dev machine, i changed base url from db and I updated site settings. When I login correctly i return to home page but i appears as anonymous, i tried some accounts with same results. Logins are corrects but not work. I tried to change Password format to clear and remove machinekey without results.

Anyone can help me?
Thanks in advance
Jul 12, 2013 at 6:09 PM
What do you mean remove machinekey? You do need a defined machine key.
Jul 12, 2013 at 8:13 PM
I defined a machinekey in web.config that I use in dev and prod. I remove this and create one new in IIS. I think changing machinekey and keyformat to clear can sign in correctly.
Jul 13, 2013 at 9:01 AM
I'm sorry, I don't understand. Modifying the machine key is going to invalidate everything that has been encrypted with it, including passwords.
Jul 15, 2013 at 1:16 PM
Thanks BertrandLeRoy for response. I solved this issue reverting to a old Mercurial commit of my solution. I think all issues can be for changes in Orchard.Web web.config.
Thanks again for keymachine explanation.