diff options
author | Rasmus Larsson <flame@constantine.(none)> | 2011-07-09 15:12:00 +0200 |
---|---|---|
committer | Rasmus Larsson <flame@constantine.(none)> | 2011-07-09 15:12:00 +0200 |
commit | 13677ef97a24fea19fe8df1cce4812c18623d88f (patch) | |
tree | ba6ff42f13be8c2503cd57481b6234115ef98fea /mediagoblin/config_spec.ini | |
parent | e6fd112d429d1fcc5994ff19c61bd67367a33ce5 (diff) | |
download | mediagoblin-13677ef97a24fea19fe8df1cce4812c18623d88f.tar.lz mediagoblin-13677ef97a24fea19fe8df1cce4812c18623d88f.tar.xz mediagoblin-13677ef97a24fea19fe8df1cce4812c18623d88f.zip |
Added configuration variable to toggle registrations, if disabled the registration page redirects to index and no link to register is shown
Diffstat (limited to 'mediagoblin/config_spec.ini')
-rw-r--r-- | mediagoblin/config_spec.ini | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mediagoblin/config_spec.ini b/mediagoblin/config_spec.ini index aadf5c21..b6356b0e 100644 --- a/mediagoblin/config_spec.ini +++ b/mediagoblin/config_spec.ini @@ -21,6 +21,9 @@ direct_remote_path = string(default="/mgoblin_static/") email_debug_mode = boolean(default=True) email_sender_address = string(default="notice@mediagoblin.example.org") +# Set to false to disable registrations +allow_registration = boolean(default=True) + # By default not set, but you might want something like: # "%(here)s/user_dev/templates/" local_templates = string() @@ -73,4 +76,4 @@ celeryd_eta_scheduler_precision = float() # known lists celery_routes = string_list() -celery_imports = string_list()
\ No newline at end of file +celery_imports = string_list() |