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
[#66434] Use .nil?.
Pavel Balashouea1dbb942922
diff --git a/config/initializers/scimitar.rb b/config/initializers/scimitar.rbindex fbfcfc9d84f..02e9e2b92f5 100644--- a/config/initializers/scimitar.rb+++ b/config/initializers/scimitar.rb@@ -41,7 +41,7 @@ Rails.application.config.to_prepare dowarden = request.env["warden"]user = warden.authenticate(scope: :scim_v2)- if user == nil+ if user.nil?if controller_path != "scimitar/service_provider_configurations" ||# It means authorization credentials were provided in ways expected by OpenProject, but the credentials were wrong.# So, no user found.