Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a way reset the admin password, in version 7.6.1 I have tried all the method that been described in previous article non of them worked.
http://www.codeshare.co.uk/blog/how-to-reset-the-umbraco-admin-account-password/
https://our.umbraco.org/forum/using/ui-questions/49134-Forget-My-Password-For-Umbraco-Admin-Site
I even tried a fresh install and used the values from "userPassword" & "securityStampToken" into the locked user.
Any reason why reset password doesn't work?
Yes, you can use the below code snippet for resetting the admin password
var user = ApplicationContext.Services.UserService.GetUserById(userId); if (user != null) { user.Username = userName; user.IsApproved = true; user.IsLockedOut = false; ApplicationContext.Services.UserService.Save(user); //Change password ApplicationContext.Services.UserService.SavePassword(user,userPassword); }
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.
Continue discussion
Reset admin password on 7.6
Is there a way reset the admin password, in version 7.6.1 I have tried all the method that been described in previous article non of them worked.
http://www.codeshare.co.uk/blog/how-to-reset-the-umbraco-admin-account-password/
https://our.umbraco.org/forum/using/ui-questions/49134-Forget-My-Password-For-Umbraco-Admin-Site
I even tried a fresh install and used the values from "userPassword" & "securityStampToken" into the locked user.
Any reason why reset password doesn't work?
Yes, you can use the below code snippet for resetting the admin password
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.