In the parameters.yml file there is a parameter named secret which defaults to ThisTokenIsNotSoSecretChangeIt
but it should be changed to something else.
What happens if the value of this parameter is changed in production? Can it break anything?
It does not break anything. Changing the value secret parameter from time to time is even considered a good practice, suggested by the official documentation:
http://symfony.com/doc/current/reference/configuration/framework.html#secret
The only thing to be aware of is:
However, keep in mind that changing this value will invalidate all signed URIs and Remember Me cookies. That's why, after changing this value, you should regenerate the application cache and log out all the application users.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With