Skip to content

Conversation

@jonasarts
Copy link
Contributor

in the framework configuration file as it is required for autowiring on the ExampleFormAuthenticator constructor

in the framework configuration file as it is required for autowiring on the ExampleFormAuthenticator constructor
Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this but I propose a reword. If #8958 is merged, we'll have a new direct link to the doc of the csrf_protection config option, so we could remove this proposed tip and reword this (line 487):

First, :ref:`add the _csrf_token to your login template <csrf-login-template>`.

like this:

First, check that :ref:`the csrf_protection option <reference-framework-csrf-protection>`
is enabled and :ref:`add the _csrf_token to your login template <csrf-login-template>`.

@xabbuh xabbuh added this to the 4.0 milestone Jan 2, 2018
@javiereguiluz
Copy link
Member

Thanks @jonasarts.

@javiereguiluz javiereguiluz merged commit 21d42f3 into symfony:4.0 Jan 4, 2018
javiereguiluz added a commit that referenced this pull request Jan 4, 2018
…s, javiereguiluz)

This PR was merged into the 4.0 branch.

Discussion
----------

Added tip to enable CsrfTokenManager as service

in the framework configuration file as it is required for autowiring on the ExampleFormAuthenticator constructor

Commits
-------

21d42f3 Reword
9ae3f82 Added tip to enable CsrfTokenManager as service
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.

4 participants