Remove bcrypt override deprecation

pull/10420/head
Oliver Günther 2 years ago
parent c54ac51f90
commit 87b454e093
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      config/initializers/bcrypt.rb

@ -26,7 +26,7 @@
# See COPYRIGHT and LICENSE files for more details.
#++
if OpenProject::Configuration.override_bcrypt_cost_factor?
if OpenProject::Configuration.override_bcrypt_cost_factor.present?
cost_factor = OpenProject::Configuration.override_bcrypt_cost_factor.to_i
current = BCrypt::Engine.cost

Loading…
Cancel
Save