mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-10 18:38:08 -06:00
require account approval flags
This commit is contained in:
parent
ad61584d7a
commit
b3d5587415
4 changed files with 43 additions and 6 deletions
|
|
@ -120,9 +120,15 @@ func main() {
|
|||
&cli.BoolFlag{
|
||||
Name: flagNames.AccountsOpenRegistration,
|
||||
Usage: "Allow anyone to submit an account signup request. If false, server will be invite-only.",
|
||||
Value: false,
|
||||
Value: true,
|
||||
EnvVars: []string{envNames.AccountsOpenRegistration},
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: flagNames.AccountsRequireApproval,
|
||||
Usage: "Do account signups require approval by an admin or moderator before user can log in? If false, new registrations will be automatically approved.",
|
||||
Value: true,
|
||||
EnvVars: []string{envNames.AccountsRequireApproval},
|
||||
},
|
||||
},
|
||||
Commands: []*cli.Command{
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue