I’m currently working on a strapi project and was inviting a friend of mine who is studying cs to work in it with me. I’m running the thing on a mysql database on linux, whereas he is running it on windows with git bash. When trying to reset the admin password he’s getting an error:
missing required options email or password when reset admin password
He tried setting the password in git bash with the following query:
npm run strapi admin:reset-user-password --email="firstname.lastname@example.org" --password="9G<cSqz46@%Z3SH.<XVZ2gn9GP-ShPdnWsj+y--$B"
Note: I’m leaving the password in clear here since this is only used locally and will never make it into production.
Is this a strapi error? I mean the args are obviously provided. Could this have something to do with some of the chars in the password? The prompt should be correct, if I’m not mistaken.
Does anyone have a solution to this?
Any help would be greatly appreciated,