Can symfony change the "secret" parameter?

There is a parameter in the parameters.yml file called secret , which is equal by default ThisTokenIsNotSoSecretChangeIt, but it needs to be changed to something else.

What happens if the value of this parameter is changed during the manufacturing process? Can it break something?

+4
source share
1 answer

It will not break anything. Changing the secret parameter from time to time is even considered good practice proposed by the official documentation:

http://symfony.com/doc/current/reference/configuration/framework.html#secret

, :

, URI . , , .

+2

Source: https://habr.com/ru/post/1661033/


All Articles