diff --git a/config/application.rb b/config/application.rb index e19fa2ce..dfc87285 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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