Umbraco Admin Password Reset Tip


I tend to be really great at creating crazy passwords, especially for Admin access to a site I'm building.


That also means I'm really great at forgetting the password or forgetting where I stored the password.




If you have forgotten the admin password to your Umbraco site, have no fear! You can update it directly in the SQL database or try a few options.


Option 1:


Log into your database and change the hash for the admin user password to:


J94H0MGTTQ3Mx3HWHeLh3A==1CVHtebxZSrTlVdwc/xPfcxcr6Qqej3GvnT3wXrYvyE=


Then login using the password: admin12345678


If this doesn't work, it could be due to the password length requirement introduced in version 7.6.0.


You can reduce the mandatory length by changing this value

 minRequiredPasswordLength="8" 

here:

<add name="UsersMembershipProvider" type="Umbraco.Web.Security.Providers.UsersMembershipProvider, Umbraco" />

Option 2:


Install a simple tool called 'Umbraco admin reset' that will reset the password for you. Get it here: https://our.umbraco.com/packages/developer-tools/umbraco-admin-reset/


The username will be reset to Admin and password to Admin1234! by default. Make sure once the password reset works and you can login that you change the password immediately.


If all else fails, you can reinstall Umbraco and hope for the best, but that will most likely cause a data loss so be prepared.


Let me know in the comments if these options helped!


Cheers!!



Tags:

  • Twitter link
  • Facebook link
  • email
  • LinkedIn link

Akron / Cleveland Ohio area

© Copyright 2020 Digital Liv | Powered by Wix