Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix admin -> Admin #972

Merged
merged 1 commit into from Nov 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/en/admin/setup.md
Expand Up @@ -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 Admin
```

### From the command line {#admin-cli}
Expand All @@ -26,7 +26,7 @@ RAILS_ENV=production bin/tootctl accounts create \
alice \
--email alice@example.com \
--confirmed \
--role admin
--role Admin
```

A randomly generated password will be shown in the terminal.
Expand Down
4 changes: 2 additions & 2 deletions content/zh-cn/admin/setup.md
Expand Up @@ -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 Admin
```

### 通过命令行 {#admin-cli}
Expand All @@ -26,7 +26,7 @@ RAILS_ENV=production bin/tootctl accounts create \
alice \
--email alice@example.com \
--confirmed \
--role admin
--role Admin
```

一个随机密码将会显示在终端上。
Expand Down