Retrieve admin password on Orchard 1.8
Asked Answered
D

2

5

I forgot my Orchard admin password, so I googled around on how to (manually) reset it. I found this article on how to achieve this.

So I went to my server, opened the website in WebMatrix, opened the database, set a new password and the PasswordFormat to Clear. I opened the site and tried to login, but still it said that the UserName and/or password was incorrect.

Has anyone ever got a similar issue? Any thoughts on why it doesn't work?

I am using Orchard 1.8 and WebMatrix 3.

Thanks

Davide answered 20/5, 2014 at 7:53 Comment(0)
D
11

Okay I found the solution. If anyone else runs into this issue here is wat was the problem:

In Orchard 1.8 information is also stored as XML in the table Orchard_Framework_ContentItemRecord. By editing the rows ALSO in here, the effects take place and the password can be reset!

Davide answered 20/5, 2014 at 11:57 Comment(2)
What information do you edit?! I've got over 700 rows of data in mine?Scleroderma
@PrimeByDesign Bertrand has updated his blogpost, see weblogs.asp.net/bleroy/recovering-the-admin-password-in-orchardDavide
M
0

I had access to another user and access to the database which I edited and replaced the admin user's hash and salt with the user I knew the password to , could then log in with that password.

Machmeter answered 6/11, 2015 at 6:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.