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); }
Hi Hussein,
Did you check if user isn't locked out? The userNoConsole field in the database should have value 0. If it has value 1 the user is locked out.
Note: If you change this value from 1 to 0 you need to restart your webapp.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
Hi Hussein,
Did you check if user isn't locked out? The userNoConsole field in the database should have value 0. If it has value 1 the user is locked out.
Note: If you change this value from 1 to 0 you need to restart your webapp.
is working on a reply...