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

Remove unnecessary double negation.

Pavel Balashoua0fa3bb1f1b7
diff --git a/lib_static/open_project/authentication.rb b/lib_static/open_project/authentication.rb
index 3dc9d2e19d3..2752e0bbddb 100644
--- a/lib_static/open_project/authentication.rb
+++ b/lib_static/open_project/authentication.rb
@@ -279,7 +279,7 @@ module OpenProject
strategies = Array(Manager.scope_config(scope).strategies)
Manager.auth_schemes
- .select { |_, info| scope.nil? or not !info.strategies.intersect?(strategies) }
+ .select { |_, info| scope.nil? or info.strategies.intersect?(strategies) }
.keys
end
end