Replace secret_token with secret_key_base.

secrets.secret_token is deprecated in favor of secret_key_base and will be removed in Rails 6.0.
This commit is contained in:
Dennis Schubert 2020-02-11 20:26:22 +01:00 committed by Benjamin Neff
parent 2e2b42ef1a
commit 71023a8713
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -1,3 +1,3 @@
# frozen_string_literal: true
Rails.application.config.secret_token = AppConfig.secret_token
Rails.application.config.secret_key_base = AppConfig.secret_token