summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/configuration/accounts.md7
-rw-r--r--example/config.yaml7
-rw-r--r--internal/config/defaults.go2
3 files changed, 9 insertions, 7 deletions
diff --git a/docs/configuration/accounts.md b/docs/configuration/accounts.md
index 4826cfb7a..41fb3eaa9 100644
--- a/docs/configuration/accounts.md
+++ b/docs/configuration/accounts.md
@@ -9,10 +9,11 @@
# 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]
-# Default: true
-accounts-registration-open: true
+# Default: false
+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)?
# Options: [true, false]
diff --git a/example/config.yaml b/example/config.yaml
index 1127b6d46..b5e0fe57f 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -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.
-# 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]
-# Default: true
-accounts-registration-open: true
+# Default: false
+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)?
# Options: [true, false]
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index ceb8068b7..64fff366a 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -66,7 +66,7 @@ var Defaults = Configuration{
InstanceDeliverToSharedInboxes: true,
InstanceLanguages: make(language.Languages, 0),
- AccountsRegistrationOpen: true,
+ AccountsRegistrationOpen: false,
AccountsReasonRequired: true,
AccountsAllowCustomCSS: false,
AccountsCustomCSSLength: 10000,