aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-06-12 12:00:46 +0100
committerDave Arter <davea@mysociety.org>2017-08-31 13:37:08 +0100
commit217cc18a47c09120a75668eaf365e8e62171b853 (patch)
tree9e4fb6d786569c9c682f32477469db6c3a0095d5 /conf
parentabc843d671365365bd3e88441721c39f0bb12ca5 (diff)
Add SIGNUPS_DISABLED config flag
Diffstat (limited to 'conf')
-rw-r--r--conf/general.yml-example4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example
index 70bfd48d2..345a6426d 100644
--- a/conf/general.yml-example
+++ b/conf/general.yml-example
@@ -207,3 +207,7 @@ MESSAGE_MANAGER_URL: ''
# If you want to hide all pages from non-logged-in users, set this to 1.
LOGIN_REQUIRED: 0
+
+# If you want to stop new users from registering, set this to 1.
+# NB: This also disables all Facebook/Twitter logins.
+SIGNUPS_DISABLED: 0