From c42b73e3506f1ecc05eabfe04b9fbbc97f0d4bc1 Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Sat, 3 Feb 2024 18:53:27 +0100 Subject: [PATCH] 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> --- administration/command-line.en-us.md | 1 + 1 file changed, 1 insertion(+) diff --git a/administration/command-line.en-us.md b/administration/command-line.en-us.md index a52b93d3..5049df35 100644 --- a/administration/command-line.en-us.md +++ b/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`: