Skip to content

Commit

Permalink
chore: Update method to access "secret_key_base" (#7337)
Browse files Browse the repository at this point in the history
This will look at environment variables and Rails Credentials, and Rails Secrets.
See documentation here: https://api.rubyonrails.org/v7.0.5/classes/Rails/Application.html#method-i-secret_key_base
  • Loading branch information
jordan-brough committed Jun 19, 2023
1 parent 9d0de04 commit 138630b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/widget/token_service.rb
Expand Up @@ -16,6 +16,6 @@ def decode_token
private

def secret_key
Rails.application.secrets.secret_key_base
Rails.application.secret_key_base
end
end

0 comments on commit 138630b

Please sign in to comment.