Skip to content

Commit

Permalink
Fix AR encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian-Hirt authored Oct 16, 2024
1 parent 5e9d27a commit e9da04a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.1

# Keep backwards compatibility for now. We probably will need to update this to SHA256 and make an upgrade migration
config.active_record.encryption.hash_digest_class = OpenSSL::Digest::SHA1

# Load the secret key base from figaro if they're not present yet
credentials.secret_key_base ||= Figaro.env.secret_key_base

Expand Down

0 comments on commit e9da04a

Please sign in to comment.