diff options
author | Dravere <floriangraf@gmx.ch> | 2016-07-06 19:46:41 +0200 |
---|---|---|
committer | Dravere <floriangraf@gmx.ch> | 2016-07-07 19:21:18 +0200 |
commit | a0a9494e4e6db3cfcdecae0a7e9c2877432fa30b (patch) | |
tree | d9a0ef27d88d3c5ae6492ddede5827f98633bd03 /app/models/application_setting.rb | |
parent | 062c7a30742d617d8d0939c3bb6ba733919fe00b (diff) | |
download | gitlab-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.rb | 1 |
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 |