Skip to content

Commit

Permalink
Bundle update
Browse files Browse the repository at this point in the history
commit-id:57ea24ce
  • Loading branch information
brand-it committed Apr 12, 2024
1 parent 950e8b7 commit c138625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/secret_key_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# This will have a few costs like for
# example session becoming invalid on new devices and you can share cookies between multiple servers
# However you can still use the ENV["SECRET_KEY_BASE"] and all this does not mater
if Rails.application.credentials.secret_key_base.nil?
if Rails.application.secrets.secret_key_base.nil?
key_file = Rails.root.join("tmp/#{Rails.env}_secret.txt")
unless File.exist?(key_file)
random_key = SecureRandom.hex(64)
Expand Down

0 comments on commit c138625

Please sign in to comment.