From 8b0c92ec41c8c26e23836c999b9b9e02ed65ddf1 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Fri, 25 Nov 2022 09:56:01 -0800 Subject: [PATCH] [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. --- docs/installation_guide/binary.md | 9 +++++++++ docs/installation_guide/docker.md | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/docs/installation_guide/binary.md b/docs/installation_guide/binary.md index 2738a5a85..269f0d01b 100644 --- a/docs/installation_guide/binary.md +++ b/docs/installation_guide/binary.md @@ -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. +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: ```bash diff --git a/docs/installation_guide/docker.md b/docs/installation_guide/docker.md index c3d0a5bfe..e752ac750 100644 --- a/docs/installation_guide/docker.md +++ b/docs/installation_guide/docker.md @@ -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' ``` +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: ```bash