We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
Symfony version(s) affected: 5.1.1
Description Maybe BC, maybe just a docs issue: I have remember me functionality on my site, as shown in the docs, here: https://symfony.com/doc/current/security/remember_me.html
After 5.1.1 I got the error in the title.
How to reproduce
Possible Solution readd the variable or update the docs to use secret: '%env(APP_SECRET)%' instead of secret: '%kernel.secret%'
secret: '%env(APP_SECRET)%'
secret: '%kernel.secret%'
Additional context Maybe related to this PR: #37154
The text was updated successfully, but these errors were encountered:
@nicolas-grekas could you clarify what's the right way here?
Sorry, something went wrong.
Related yes, here is the patch you need to apply to your config:
--- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -1,4 +1,5 @@ framework: + secret: '%env(APP_SECRET)%' #csrf_protection: true #http_method_override: true
Should I close it, or can you move to docs?
The recipe has been updated already. There's nothing else to do I think. Apps that use the "broken" recipe will need to be updated...
I've ment because of the remember_me part of the docs
Oh. No need to patch the doc, the above one is all we need here.
No branches or pull requests
Hi!
Symfony version(s) affected: 5.1.1
Description
Maybe BC, maybe just a docs issue:
I have remember me functionality on my site, as shown in the docs, here: https://symfony.com/doc/current/security/remember_me.html
After 5.1.1 I got the error in the title.
How to reproduce
Possible Solution
readd the variable or update the docs to use
secret: '%env(APP_SECRET)%'
instead ofsecret: '%kernel.secret%'
Additional context
Maybe related to this PR: #37154
The text was updated successfully, but these errors were encountered: