Dear great community. i have just strat with strapi and i found it great. i have problem with login admin account. the username and password not working so i try some of the command. lik
npm strapi admin:reset-user-password --email=admin@school.com --password=Gourmet1234
which is not working .
Please help me to get out of this stuck to rest admin password
Can you provide a bit more information than just “it’s not working”
What specifically isn’t working when you run that command? Any errors? Have you checked the database to see if the hashed value of the password is being changed? Ect
Thanks @aniket, this worked for me! I forgot the admin password I setup on my dev server and was worried I’d have to scrap my Strapi installation and start over. You saved me hours of work! I will now be saving my new admin password to my LastPass vault
Hi Everyone here,
I am stuck with the similar issue, and my strapi is hosted on Azure with an external PostgresDB. When I am trying to reset this admin password it is saying that the username is not there or not recognised. Can anyone please suggest me a way where I can recover both, or change both Username and Password for my admin account.