rmacd 2022-11-05 22:59:41 +00:00 committed by GitHub
parent 92d282846a
commit 593d87d230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ menu:
After signing up in the browser, you will need to use the command line to give your newly created account admin privileges. Assuming your username is `alice`:
```bash
RAILS_ENV=production bin/tootctl accounts modify alice --role Admin
RAILS_ENV=production bin/tootctl accounts modify alice --role Owner
```
### From the command line {#admin-cli}
@ -26,7 +26,7 @@ RAILS_ENV=production bin/tootctl accounts create \
alice \
--email alice@example.com \
--confirmed \
--role Admin
--role Owner
```
A randomly generated password will be shown in the terminal.

View File

@ -14,7 +14,7 @@ menu:
在通过浏览器完成帐户注册后,你需要使用命令行给你新创建的帐户以管理员特权。假设你帐户的用户名为`alice`
```bash
RAILS_ENV=production bin/tootctl accounts modify alice --role Admin
RAILS_ENV=production bin/tootctl accounts modify alice --role Owner
```
### 通过命令行 {#admin-cli}
@ -26,7 +26,7 @@ RAILS_ENV=production bin/tootctl accounts create \
alice \
--email alice@example.com \
--confirmed \
--role Admin
--role Owner
```
一个随机密码将会显示在终端上。