Added configuration variable to toggle registrations, if disabled the registration page redirects to index and no link to register is shown

This commit is contained in:
Rasmus Larsson
2011-07-09 15:12:00 +02:00
parent e6fd112d42
commit 13677ef97a
5 changed files with 18 additions and 2 deletions

View File

@@ -8,6 +8,9 @@ email_sender_address = "notice@mediagoblin.example.org"
# set to false to enable sending notices
email_debug_mode = true
# Set to false to disable registrations
allow_registration = true
## Uncomment this to put some user-overriding templates here
#local_templates = %(here)s/user_dev/templates/