Skip to content

Commit

Permalink
this isn't keyed off of the environment now
Browse files Browse the repository at this point in the history
  • Loading branch information
fermion committed Jan 14, 2024
1 parent 04247fb commit 583dcb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/registration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def self.digest(string)
key = ActiveSupport::KeyGenerator.new(
Rails.application.secret_key_base
).generate_key(
Rails.application.credentials[Rails.env].registration_salt
Rails.application.credentials.registration_salt
)
OpenSSL::HMAC.hexdigest("SHA256", key, string)
end
Expand Down

0 comments on commit 583dcb4

Please sign in to comment.