Skip to content

Add command to bulk set must-change-password #22823

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/content/doc/usage/command-line.en-us.md
Co-authored-by: delvh <[email protected]>
  • Loading branch information
zeripath and delvh authored Feb 10, 2023
commit 0532d4c1d46589a791eca1859c1b37c553a09331
2 changes: 1 addition & 1 deletion docs/content/doc/usage/command-line.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Admin operations:
- Args:
- `[username...]`: Users to set MustChangePassword for
- Options:
- `--all`, `-A`: Set MustChangePassword for all users
- `--all`, `-A`: Force a password change for all users
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still, why -A and not -a?
As far as I can see, it's the only sub-command with a capital letter…

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I thought --all tended to be -A but I don't mind making it -a if others prefer

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that -A seems less likely to mistyped, but that's just an observation. I am okay with either one.

- `--exclude [username,username...]`, `-e [...]`: Exclude the given users
- `--unset`: Instead of setting MustChangePassword, unset it
- `regenerate`
Expand Down