aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2024-02-03 18:53:27 +0100
committerGitHub <noreply@github.com>2024-02-03 19:53:27 +0200
commit9bea276055edc9527e3d6d66df3bbf0d20326f8b (patch)
tree0597bbc2a306ce542a8a1c19be62ec00889ea279 /docs
parent360b3fd17c3315ad9ad9c4e6ac02eda73f48d8ae (diff)
downloadgitea-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.md1
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`: