gotosocial/cmd/gotosocial
Phil Hagelberg 9e18c7f996
[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.
2022-11-25 16:44:27 +01:00
..
action [bugfix] Change emailVerified to true for admin account create (#1140) 2022-11-25 16:44:27 +01:00
admin.go [chore] Remove unused admin account suspend action (#1047) 2022-11-14 16:51:53 +01:00
common.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
debug.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
main.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
server.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
testrig.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00