You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question.
Why should we log out all users after changing the value of framework.secret ?
The documentation says:
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. https://symfony.com/doc/8.0/reference/configuration/framework.html#secret
I understand that signed URLs and "remember me" cookies will be invalidated, but I don’t quite see why this implies that all users must be logged out.
In my case, I need to change the secret value for a production application, and I must explain the reason for this requirement to my manager.
Could someone please clarify this for me? Any help would be greatly appreciated! 🙏
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a question.
Why should we log out all users after changing the value of
framework.secret
?The documentation says:
I understand that signed URLs and "remember me" cookies will be invalidated, but I don’t quite see why this implies that all users must be logged out.
In my case, I need to change the secret value for a production application, and I must explain the reason for this requirement to my manager.
Could someone please clarify this for me? Any help would be greatly appreciated! 🙏
Beta Was this translation helpful? Give feedback.
All reactions