Error message no longer tells you to set the (deprecated) secret_token.
This commit is contained in:
parent
efaec3dd63
commit
b93ae0cd56
@ -511,7 +511,7 @@ def validate_secret_key_config! #:nodoc:
|
||||
"Read the upgrade documentation to learn more about this new config option."
|
||||
|
||||
if secrets.secret_token.blank?
|
||||
raise "Missing `secret_token` and `secret_key_base` for '#{Rails.env}' environment, set these values in `config/secrets.yml`"
|
||||
raise "Missing `secret_key_base` for '#{Rails.env}' environment, set this value in `config/secrets.yml`"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user