diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2024-02-03 18:53:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-03 19:53:27 +0200 |
commit | 9bea276055edc9527e3d6d66df3bbf0d20326f8b (patch) | |
tree | 0597bbc2a306ce542a8a1c19be62ec00889ea279 /docs | |
parent | 360b3fd17c3315ad9ad9c4e6ac02eda73f48d8ae (diff) | |
download | gitea-9bea276055edc9527e3d6d66df3bbf0d20326f8b.tar.gz gitea-9bea276055edc9527e3d6d66df3bbf0d20326f8b.zip |
Add `must-change-password` cli parameter (#27626)
This PR adds a new `must-change-password` parameter to the
`change-password` cli command.
We already have the `must-change-password` command but it feels natural
to have this integrated into the `change-password` cli command.
---------
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/administration/command-line.en-us.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/administration/command-line.en-us.md b/docs/content/administration/command-line.en-us.md index a52b93d344..5049df35e0 100644 --- a/docs/content/administration/command-line.en-us.md +++ b/docs/content/administration/command-line.en-us.md @@ -95,6 +95,7 @@ Admin operations: - Options: - `--username value`, `-u value`: Username. Required. - `--password value`, `-p value`: New password. Required. + - `--must-change-password`: If provided, the user is required to choose a new password after the login. Optional. - Examples: - `gitea admin user change-password --username myname --password asecurepassword` - `must-change-password`: |