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

fix Rails deprecation warning

Christophe Bliardbc0839d10492
diff --git a/config/application.rb b/config/application.rb
index e2839d4fe24..599eff334f7 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -160,7 +160,7 @@ module OpenProject
Rails.application.config.active_support.use_authenticated_message_encryption = true
# Use SHA-1 instead of MD5 to generate non-sensitive digests, such as the ETag header.
- Rails.application.config.active_support.use_sha1_digests = true
+ Rails.application.config.active_support.hash_digest_class = ::Digest::SHA1
# This option is not backwards compatible with earlier Rails versions.
# It's best enabled when your entire app is migrated and stable on 6.0.