Skip to content

Clarify that APP_SECRET is still required in remember_me docs#21985

Open
lacatoire wants to merge 2 commits intosymfony:7.3from
lacatoire:docs/fix-app-secret-misleading
Open

Clarify that APP_SECRET is still required in remember_me docs#21985
lacatoire wants to merge 2 commits intosymfony:7.3from
lacatoire:docs/fix-app-secret-misleading

Conversation

@lacatoire
Copy link
Contributor

Summary

The versionadded note for Symfony 7.2 in remember_me.rst stated that "The secret option is no longer required", which was misleading — it implied that APP_SECRET itself was no longer needed. This led to production failures when no secret was configured.

The reworded note clarifies that:

  • The secret option now defaults to %kernel.secret% and doesn't need to be set explicitly
  • The APP_SECRET environment variable must still be defined, especially in production

Fixes #21372

@carsonbot
Copy link
Collaborator

Hey!

Oh no, it looks like you have made this PR towards a branch that is not maintained anymore. :/
Could you update the PR base branch to target one of these branches instead? 6.4, 7.4, 8.0, 8.1.

Cheers!

Carsonbot

@carsonbot carsonbot added this to the 7.3 milestone Feb 12, 2026
@carsonbot carsonbot changed the title Clarify that APP_SECRET is still required in remember_me docs Clarify that APP_SECRET is still required in remember_me docs Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants