summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-01-14 17:42:44 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-01-14 17:42:44 +0100
commit3c5c1a7802c315c7b82ecd5e4eb8200663eb3463 (patch)
tree27aae3dba16c45d1ede119a43f4c8bdb867adf5c /config
parent01ab08125982b7c786818ffdd608e6169d0ff43d (diff)
downloadgitlab-ce-3c5c1a7802c315c7b82ecd5e4eb8200663eb3463.tar.gz
Enable signup by default
Diffstat (limited to 'config')
-rw-r--r--config/initializers/1_settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
index c744577d516..3685008bcb0 100644
--- a/config/initializers/1_settings.rb
+++ b/config/initializers/1_settings.rb
@@ -105,7 +105,7 @@ rescue ArgumentError # no user configured
'/home/' + Settings.gitlab['user']
end
Settings.gitlab['time_zone'] ||= nil
-Settings.gitlab['signup_enabled'] ||= false
+Settings.gitlab['signup_enabled'] ||= true
Settings.gitlab['signin_enabled'] ||= true if Settings.gitlab['signin_enabled'].nil?
Settings.gitlab['restricted_visibility_levels'] = Settings.send(:verify_constant_array, Gitlab::VisibilityLevel, Settings.gitlab['restricted_visibility_levels'], [])
Settings.gitlab['username_changing_enabled'] = true if Settings.gitlab['username_changing_enabled'].nil?