To reset the admin password of a Umbraco website. 1. In Sql server, run the following script on the database: USE INSERT-YOUR-DATABASE-NAME-HERE GO UPDATE umbracoUser set userdisabled=0, userLogin='admin', userPassword='default' where id=0 2. In your web config file, find the "UsersMemnershipProvider" section, change the setting: passwordFormat="Hashed" to passwordFormat="Clear" You should now be able to login using the Username: Admin and the Password: default ("the two sweetest words in the english language").
There is just a method on the Umbraco helper class.
ReplyDelete@umbraco.library.ReplaceLineBreaks()