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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[36206] Make force_no_page for ldap configurable
Oliver Günther0c9fb9b1af26
diff --git a/app/models/ldap_auth_source.rb b/app/models/ldap_auth_source.rbindex 0a5429cf77f..1d8c1321af2 100644--- a/app/models/ldap_auth_source.rb+++ b/app/models/ldap_auth_source.rb@@ -129,7 +129,7 @@ class LdapAuthSource < AuthSourcedef initialize_ldap_con(ldap_user, ldap_password)options = { host: host,port: port,- force_no_page: true,+ force_no_page: OpenProject::Configuration.ldap_force_no_page,encryption: ldap_encryption }unless ldap_user.blank? && ldap_password.blank?options.merge!(auth: { method: :simple, username: ldap_user,diff --git a/lib/open_project/configuration.rb b/lib/open_project/configuration.rbindex 30027e5840d..d5c78f1e51c 100644--- a/lib/open_project/configuration.rb+++ b/lib/open_project/configuration.rb@@ -182,6 +182,7 @@ module OpenProject# Allow override of LDAP options'ldap_auth_source_tls_options' => nil,+ 'ldap_force_no_page' => false,# Slow query logging threshold in ms'sql_slow_query_threshold' => 2000