Skip to content

[Sprint/OldfashionedOwl](feat): Reset password by CLI

Ben requested to merge feat/cli-user-pw-reset-921 into master

Closes #921 (closed)

Admin password for the sandboxes seemed to change. So that I can run it in the container with kubectl, I made a CLI controller for it.

If you want to test, you'll need to be set up with AWS and K8S.

kubectl get pods | grep cli-user-pw-reset

will yield the container name. Copy that name and run:

kubectl exec -it {{pod name}} sh

From there you just:

cd ../Minds/engine
php ./cli.php User password_reset --username={{username}} --password={{password}}

And try to login.

Alternatively pull locally, cd into your engine folder, and run the password_reset command.

Edited by Ben

Merge request reports