mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[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.
This commit is contained in:
@@ -68,7 +68,7 @@ gotosocial admin account create \
|
||||
|
||||
### gotosocial admin account confirm
|
||||
|
||||
This command can be used to confirm a user+account on your instance, allowing them to log in and use the account.
|
||||
This command can be used to confirm a user+account on your instance, allowing them to log in and use the account. Note that if the account was created using `admin account create` this is not necessary.
|
||||
|
||||
`gotosocial admin account confirm --help`:
|
||||
|
||||
|
Reference in New Issue
Block a user