Thanks to visit codestin.com
Credit goes to github.com

Skip to content

You have requested a non-existent parameter "kernel.secret" #37256

Closed
@mmarton

Description

@mmarton

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%'

Additional context
Maybe related to this PR: #37154

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions