mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #19735 from Dan-Burnette/fixSecretKeyBaseErrorMessage
Error message no longer tells you to set the (deprecated) secret_token.
This commit is contained in:
commit
4825042a1c
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ module Rails
|
||||||
"Read the upgrade documentation to learn more about this new config option."
|
"Read the upgrade documentation to learn more about this new config option."
|
||||||
|
|
||||||
if secrets.secret_token.blank?
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue