Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

introduce ldap_tls_options setting explicitly

ulfertsc767c29055f5
diff --git a/config/constants/settings/definitions.rb b/config/constants/settings/definitions.rb
index 3073e11a7be..a143c16974c 100644
--- a/config/constants/settings/definitions.rb
+++ b/config/constants/settings/definitions.rb
@@ -504,6 +504,10 @@ Settings::Definition.define do
value: false,
writable: false
+ add :ldap_tls_options,
+ value: {},
+ writable: false
+
add :log_level,
value: 'info',
writable: false
diff --git a/lib/open_project/configuration/helpers.rb b/lib/open_project/configuration/helpers.rb
index 2bc1234fcc2..859b35d5e8f 100644
--- a/lib/open_project/configuration/helpers.rb
+++ b/lib/open_project/configuration/helpers.rb
@@ -156,11 +156,6 @@ module OpenProject
uploaders
end
- def ldap_tls_options
- val = self['ldap_tls_options']
- val.presence || {}
- end
-
def web_workers
Integer(web['workers'].presence)
end