summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDravere <floriangraf@gmx.ch>2016-07-06 19:46:41 +0200
committerDravere <floriangraf@gmx.ch>2016-07-07 19:21:18 +0200
commita0a9494e4e6db3cfcdecae0a7e9c2877432fa30b (patch)
treed9a0ef27d88d3c5ae6492ddede5827f98633bd03 /lib
parent062c7a30742d617d8d0939c3bb6ba733919fe00b (diff)
downloadgitlab-ce-a0a9494e4e6db3cfcdecae0a7e9c2877432fa30b.tar.gz
Added setting to set new users by default as external
As requested by the issue #14508 this adds an option in the application settings to set newly registered users by default as external. The default setting is set to false to stay backward compatible.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/current_settings.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/current_settings.rb b/lib/gitlab/current_settings.rb
index 54b46e5d23f..ffc1814b29d 100644
--- a/lib/gitlab/current_settings.rb
+++ b/lib/gitlab/current_settings.rb
@@ -48,6 +48,7 @@ module Gitlab
akismet_enabled: false,
repository_checks_enabled: true,
container_registry_token_expire_delay: 5,
+ user_default_external: false,
)
end