Add `--skip-sign-in-token` in admin CLI (#900)
* Update tootctl.md * zh-cn
This commit is contained in:
parent
f0dea11261
commit
9bea3ee51a
|
@ -73,12 +73,13 @@ Create a new user account with given USERNAME and provided --email.
|
|||
|
||||
| Option | Description |
|
||||
| :--- | :--- |
|
||||
| `USERNAME` | Local username for the new account. Required. |
|
||||
| `--email EMAIL` | Email address to be attached to the user. Required. |
|
||||
| `--confirmed` | Skip sending the confirmation email and activate the account immediately. |
|
||||
| `--role ROLE` | Define the new account as a `user`, `moderator`, or `admin`. Defaults to `user`. |
|
||||
| `--reattach` | Reuse an old USERNAME after its account has been deleted. |
|
||||
| `--force` | Forcefully delete any existing account with this USERNAME and reattach the new account in place of the \(just-deleted\) account. |
|
||||
| `USERNAME` | Local username for the new account. Required. |
|
||||
| `--email EMAIL` | Email address to be attached to the user. Required. |
|
||||
| `--confirmed` | Skip sending the confirmation email and activate the account immediately. |
|
||||
| `--role ROLE` | Define the new account as a `user`, `moderator`, or `admin`. Defaults to `user`. |
|
||||
| `--reattach` | Reuse an old USERNAME after its account has been deleted. |
|
||||
| `--force` | Forcefully delete any existing account with this USERNAME and reattach the new account in place of the \(just-deleted\) account. |
|
||||
| `--skip-sign-in-token` | Forcefully ensure that the user is never asked for an e-mailed security code. |
|
||||
|
||||
### `tootctl accounts modify` {#accounts-modify}
|
||||
|
||||
|
@ -99,6 +100,7 @@ Modify a user account's role, email, active status, approval mode, or 2FA requir
|
|||
| `--approve` | Approve the account, if you are/were in approval mode. |
|
||||
| `--disable-2fa` | Remove additional factors and allow login with password. |
|
||||
| `--reset-password` | Resets the password of the given account. |
|
||||
| `--skip-sign-in-token` | Forcefully ensure that the user is never asked for an e-mailed security code. |
|
||||
|
||||
### `tootctl accounts delete` {#accounts-delete}
|
||||
|
||||
|
|
|
@ -80,6 +80,7 @@ RAILS_ENV=production bin/tootctl help
|
|||
| `--role ROLE` | 设定新用户的身份为 `user`, `moderator` 或 `admin`。默认为 `user`。 |
|
||||
| `--reattach` | 重用已被删除帐户的旧用户名。 |
|
||||
| `--force` | 强制删除使用此用户名(USERNAME)的现有帐户,然后重新的新帐户代替(刚刚删除的)该帐户。 |
|
||||
| `--skip-sign-in-token` | 强制跳过该用户登录时的邮件验证码(目前这是不可逆操作)。 |
|
||||
|
||||
### `tootctl accounts modify` {#accounts-modify}
|
||||
|
||||
|
@ -98,6 +99,8 @@ RAILS_ENV=production bin/tootctl help
|
|||
| `--enable` | 允许 USERNAME 帐户登录,如果该帐户目前被禁止登录。 |
|
||||
| `--approve` | 审核通过该帐户,如果你的实例为审核制。 |
|
||||
| `--disable_2fa` | 移除额外认证因素,允许只用密码登录。 |
|
||||
| `--reset-password` | 重置此用户的密码,将用一个随机生成的字符串作为临时密码。 |
|
||||
| `--skip-sign-in-token` | 强制跳过该用户登录时的邮件验证码(目前这是不可逆操作)。 |
|
||||
|
||||
### `tootctl accounts delete` {#accounts-delete}
|
||||
|
||||
|
|
Loading…
Reference in New Issue