mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
fix admin -> Admin (#972)
This commit is contained in:
parent
d01250cc77
commit
8fe194b433
@ -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`:
|
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
|
```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}
|
### From the command line {#admin-cli}
|
||||||
@ -26,7 +26,7 @@ RAILS_ENV=production bin/tootctl accounts create \
|
|||||||
alice \
|
alice \
|
||||||
--email alice@example.com \
|
--email alice@example.com \
|
||||||
--confirmed \
|
--confirmed \
|
||||||
--role admin
|
--role Admin
|
||||||
```
|
```
|
||||||
|
|
||||||
A randomly generated password will be shown in the terminal.
|
A randomly generated password will be shown in the terminal.
|
||||||
|
@ -14,7 +14,7 @@ menu:
|
|||||||
在通过浏览器完成帐户注册后,你需要使用命令行给你新创建的帐户以管理员特权。假设你帐户的用户名为`alice`:
|
在通过浏览器完成帐户注册后,你需要使用命令行给你新创建的帐户以管理员特权。假设你帐户的用户名为`alice`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
RAILS_ENV=production bin/tootctl accounts modify alice --role admin
|
RAILS_ENV=production bin/tootctl accounts modify alice --role Admin
|
||||||
```
|
```
|
||||||
|
|
||||||
### 通过命令行 {#admin-cli}
|
### 通过命令行 {#admin-cli}
|
||||||
@ -26,7 +26,7 @@ RAILS_ENV=production bin/tootctl accounts create \
|
|||||||
alice \
|
alice \
|
||||||
--email alice@example.com \
|
--email alice@example.com \
|
||||||
--confirmed \
|
--confirmed \
|
||||||
--role admin
|
--role Admin
|
||||||
```
|
```
|
||||||
|
|
||||||
一个随机密码将会显示在终端上。
|
一个随机密码将会显示在终端上。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user