-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove docs changes in releases <=1.11
- Loading branch information
Showing
8 changed files
with
19 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,10 +77,17 @@ Admin operations: | |
- One of `--id`, `--username` or `--email` is required. If more than one is provided then all have to match. | ||
- Examples: | ||
- `gitea admin user delete --id 1` | ||
- `create`: - Options: - `--name value`: Username. Required. As of gitea 1.9.0, use the `--username` flag instead. - `--username value`: Username. Required. New in gitea 1.9.0. - `--password value`: Password. Required. - `--email value`: Email. Required. - `--admin`: If provided, this makes the user an admin. Optional. - `--access-token`: If provided, an access token will be created for the user. Optional. (default: false). - `--must-change-password`: If provided, the created user will be required to choose a newer password after | ||
the initial login. Optional. (default: true). - `--random-password`: If provided, a randomly generated password will be used as the password of | ||
the created user. The value of `--password` will be discarded. Optional. - `--random-password-length`: If provided, it will be used to configure the length of the randomly | ||
generated password. Optional. (default: 12) - Examples: - `gitea admin user create --username myname --password asecurepassword --email [email protected]` | ||
- `create`: | ||
- Options: | ||
- `--username value`: Username. Required. | ||
- `--password value`: Password. Required. | ||
- `--email value`: Email. Required. | ||
- `--admin`: If provided, this makes the user an admin. Optional. | ||
- `--access-token`: If provided, an access token will be created for the user. Optional. (default: false). | ||
- `--must-change-password`: If provided, the created user will be required to choose a newer password after the initial login. Optional. (default: true). | ||
- `--random-password`: If provided, a randomly generated password will be used as the password of the created user. The value of `--password` will be discarded. Optional. | ||
- `--random-password-length`: If provided, it will be used to configure the length of the randomly generated password. Optional. (default: 12) | ||
- Examples: - `gitea admin user create --username myname --password asecurepassword --email [email protected]` | ||
- `change-password`: | ||
- Options: | ||
- `--username value`, `-u value`: Username. Required. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters