Commit 13f26577 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in lib/api/settings.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 1919e4a4
......@@ -154,14 +154,11 @@ module API
put "application/settings" do
attrs = declared_params(include_missing: false)
<<<<<<< HEAD
unless ::License.feature_available?(:repository_mirrors)
attrs = attrs.except(*::EE::ApplicationSettingsHelper.repository_mirror_attributes)
end
=======
# support legacy names, can be removed in v5
>>>>>>> ce/master
if attrs.has_key?(:signin_enabled)
attrs[:password_authentication_enabled_for_web] = attrs.delete(:signin_enabled)
elsif attrs.has_key?(:password_authentication_enabled)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment