Skip to content
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

Add CSRF Support to the LDAP Guard #30

Open
ChadSikorra opened this issue Sep 25, 2017 · 0 comments
Open

Add CSRF Support to the LDAP Guard #30

ChadSikorra opened this issue Sep 25, 2017 · 0 comments
Labels

Comments

@ChadSikorra
Copy link
Contributor

I should implement CSRF support in the Guard. To do this I will need to:

  • Add csrf_parameter to the config, default to: _csrf_token
  • Add csrf_token_generator to the config, default to: security.csrf.token_manager
  • Add csrf_protection to the config, default to: false

Though this is different from how it's traditionally configured for a Symfony form (only have to specify the csrf_token_generator to enable it). I feel like enabling it via a bool true/false is a more explicit route to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant