summaryrefslogtreecommitdiff
path: root/app/models/application_setting.rb
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 /app/models/application_setting.rb
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 'app/models/application_setting.rb')
-rw-r--r--app/models/application_setting.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/application_setting.rb b/app/models/application_setting.rb
index 7bf618d60b9..c6f77cc055f 100644
--- a/app/models/application_setting.rb
+++ b/app/models/application_setting.rb
@@ -142,6 +142,7 @@ class ApplicationSetting < ActiveRecord::Base
send_user_confirmation_email: false,
container_registry_token_expire_delay: 5,
repository_storage: 'default',
+ user_default_external: false,
)
end