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
Use Rails.application.secret_key_base
Dombi Attila6b7212581995
diff --git a/app/models/token/hashed_token.rb b/app/models/token/hashed_token.rbindex 98be0d9fb1f..01cfa8ab222 100644--- a/app/models/token/hashed_token.rb+++ b/app/models/token/hashed_token.rb@@ -46,7 +46,7 @@ module Token# Use a fixed salt for hashing token values.# We still want to be able to index the hash value for fast lookups,# so we need to determine the hash without knowing the associated user (and thus its salt) first.- Digest::SHA256.hexdigest(input + Rails.application.credentials.fetch(:secret_key_base))+ Digest::SHA256.hexdigest(input + Rails.application.secret_key_base)enddelegate :hash_function, to: :class