Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We���ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User: Add more examples for scoped password reset #409

Merged

Conversation

GaryJones
Copy link
Contributor

When an account has been compromised, then resetting the passwords of users with a particular role or all users can be helpful.

Rather than add new flags to the user reset-password command, we can document how to combine with the existing user list command instead ("composability is a good idea"). This will then appear when wp user reset-password --help is run.

Fixes #282.

When an account has been compromised, then resetting the passwords of users with a particular role or all users can be helpful.

Rather than add new flags to the `user reset-password` command, we can document how to combine with the existing `user list` command instead (see https://make.wordpress.org/cli/handbook/contributions/philosophy/#composability-is-always-a-good-idea). This will then appear when `wp user reset-password --help` is run.

Fixes wp-cli#282.
@GaryJones GaryJones requested a review from a team as a code owner June 8, 2023 09:04
@schlessera schlessera added this to the 2.5.2 milestone Jun 8, 2023
@danielbachhuber danielbachhuber merged commit 48e9624 into wp-cli:main Jun 8, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment