mirror of
1
Fork 0

[docs] Explain that before 0.6.0, account confirm was necessary. (#1149)

Since the documentation site only shows the latest version of the
docs, we need the docs to explain how to use the latest stable
release, not just the latest git version.
This commit is contained in:
Phil Hagelberg 2022-11-25 09:56:01 -08:00 committed by GitHub
parent 13e9abd02a
commit 8b0c92ec41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -84,6 +84,15 @@ Run the following command to create a new account:
In the above command, replace `some_username` with your desired username, `some_email@whatever.org` with the email address you want to associate with your account, and `SOME_PASSWORD` with a secure password. In the above command, replace `some_username` with your desired username, `some_email@whatever.org` with the email address you want to associate with your account, and `SOME_PASSWORD` with a secure password.
If you are running a version older than 0.6.0, you will need to manually confirm as well:
```bash
./gotosocial --config-path ./config.yaml admin account confirm --username some_username
```
Replace `some_username` with the username of the account you just created.
If you want your user to have admin rights, you can promote them using a similar command: If you want your user to have admin rights, you can promote them using a similar command:
```bash ```bash

View File

@ -171,6 +171,14 @@ First create a user (replace the username, email, and password with appropriate
docker exec -it gotosocial /gotosocial/gotosocial admin account create --username some_username --email someone@example.org --password 'some_very_good_password' docker exec -it gotosocial /gotosocial/gotosocial admin account create --username some_username --email someone@example.org --password 'some_very_good_password'
``` ```
If you are running a version older than 0.6.0, you will need to manually confirm as well:
```bash
./gotosocial --config-path ./config.yaml admin account confirm --username some_username
```
Replace `some_username` with the username of the account you just created.
Now promote the user you just created to admin privileges: Now promote the user you just created to admin privileges:
```bash ```bash