I was working with localhost and I forgot about my password, I tried with recover by email and I didn’t get one email back with the recovery code. Perhaps because I was working with localhost.
Open terminal (iTerm, cmd, etc.) in your Strapi app directory.
Run : yarn strapi admin:reset-user-password --email="YOUR_EMAIL" --password="YOUR_NEW_PASSWORD" (if you use Yarn). You may have to create alphanumeric password (according to Strapi), so weak password like 12345 might fail to reset your password.
If you use NPM, you probably should run npm run strapi admin:reset-user-password --email="YOUR_EMAIL" --password="YOUR_NEW_PASSWORD".
Can’t log in to Strapi app on Render production. Correct credentials work on dev. Error: “Invalid credentials.” No terminal access on Render. Can any help how to solve this?
Thanks for this! I have been struggling to find a solution to this as I was experiencing the same issue. I forgot the admin password but can’t reset it either