summaryrefslogtreecommitdiff
path: root/docs/installation_guide/docker.md
diff options
context:
space:
mode:
authorLibravatar Phil Hagelberg <phil@hagelb.org>2022-11-25 07:44:27 -0800
committerLibravatar GitHub <noreply@github.com>2022-11-25 16:44:27 +0100
commit9e18c7f996b035ce834439a8cf2e866d38fd4037 (patch)
tree483034c6486f02a429b094f25f56638f7eee8a6c /docs/installation_guide/docker.md
parent[chore] Fix frogend admin emoji patch (#1148) (diff)
downloadgotosocial-9e18c7f996b035ce834439a8cf2e866d38fd4037.tar.xz
[bugfix] Change emailVerified to true for admin account create (#1140)
The NewSignup method was already being called with requireApproval=false, but it had emailVerified=false as well, which meant that it was required to use the `admin account confirm` command to verify the email before the newly-created user could log in. I think that was probably an oversight; effectively it did require approval anyway. Changing emailVerified to true allows you to just create the account and log in immediately, reducing the opportunity for manual error to sneak in. Also updated the docs to remove the mention of needing to confirm new accounts. However, I've left the confirmation command alone because I think once we have web signups, it will be needed in that context.
Diffstat (limited to 'docs/installation_guide/docker.md')
-rw-r--r--docs/installation_guide/docker.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/installation_guide/docker.md b/docs/installation_guide/docker.md
index aa98403ee..c3d0a5bfe 100644
--- a/docs/installation_guide/docker.md
+++ b/docs/installation_guide/docker.md
@@ -163,7 +163,7 @@ time=2022-04-19T09:48:36Z level=info msg=listening on 0.0.0.0:8080
### Create your first User
-Now that GoToSocial is running, you can execute commands inside the running container to create, confirm, and promote your admin user.
+Now that GoToSocial is running, you can execute commands inside the running container to create and promote your admin user.
First create a user (replace the username, email, and password with appropriate values):
@@ -171,12 +171,6 @@ 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'
```
-Now confirm the user, replacing username with the value you used in the command above.
-
-```bash
-docker exec -it gotosocial /gotosocial/gotosocial admin account confirm --username some_username
-```
-
Now promote the user you just created to admin privileges:
```bash