[chore] Turn accounts-registration-open false by default (#2839)

This commit is contained in:
tobi 2024-04-15 14:41:15 +02:00 committed by GitHub
parent 1018cde107
commit 8b30709791
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 7 deletions

View file

@ -9,10 +9,11 @@
# Config pertaining to creation and maintenance of accounts on the server, as well as defaults for new accounts. # Config pertaining to creation and maintenance of accounts on the server, as well as defaults for new accounts.
# Bool. Do we want people to be able to just submit sign up requests, or do we want invite only? # Bool. Allow people to submit new sign-up / registration requests via the form at /signup.
#
# Options: [true, false] # Options: [true, false]
# Default: true # Default: false
accounts-registration-open: true accounts-registration-open: false
# Bool. Are sign up requests required to submit a reason for the request (eg., an explanation of why they want to join the instance)? # Bool. Are sign up requests required to submit a reason for the request (eg., an explanation of why they want to join the instance)?
# Options: [true, false] # Options: [true, false]

View file

@ -406,10 +406,11 @@ instance-inject-mastodon-version: false
# Config pertaining to creation and maintenance of accounts on the server, as well as defaults for new accounts. # Config pertaining to creation and maintenance of accounts on the server, as well as defaults for new accounts.
# Bool. Do we want people to be able to just submit sign up requests, or do we want invite only? # Bool. Allow people to submit new sign-up / registration requests via the form at /signup.
#
# Options: [true, false] # Options: [true, false]
# Default: true # Default: false
accounts-registration-open: true accounts-registration-open: false
# Bool. Are sign up requests required to submit a reason for the request (eg., an explanation of why they want to join the instance)? # Bool. Are sign up requests required to submit a reason for the request (eg., an explanation of why they want to join the instance)?
# Options: [true, false] # Options: [true, false]

View file

@ -66,7 +66,7 @@ var Defaults = Configuration{
InstanceDeliverToSharedInboxes: true, InstanceDeliverToSharedInboxes: true,
InstanceLanguages: make(language.Languages, 0), InstanceLanguages: make(language.Languages, 0),
AccountsRegistrationOpen: true, AccountsRegistrationOpen: false,
AccountsReasonRequired: true, AccountsReasonRequired: true,
AccountsAllowCustomCSS: false, AccountsAllowCustomCSS: false,
AccountsCustomCSSLength: 10000, AccountsCustomCSSLength: 10000,