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

Skip to content

[Form] Fixed CSRF error messages to be translated and added "csrf_message" option #7903

New issue

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

Merged
merged 1 commit into from
May 3, 2013

Conversation

webmozart
Copy link
Contributor

Q A
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #7642
License MIT
Doc PR TODO


/**
* @author Bernhard Schussek <[email protected]>
*/
class CsrfValidationListener implements EventSubscriberInterface
{
const MESSAGE = 'The CSRF token is invalid. Please try to resubmit the form.';
Copy link
Member

Choose a reason for hiding this comment

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

It seams this constant is never used.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

fabpot added a commit that referenced this pull request May 3, 2013
This PR was merged into the master branch.

Discussion
----------

[Form] Fixed CSRF error messages to be translated and added "csrf_message" option

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #7642
| License       | MIT
| Doc PR        | TODO

Commits
-------

549a308 [Form] Fixed CSRF error messages to be translated and added "csrf_message" option
@fabpot fabpot merged commit 549a308 into symfony:master May 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants