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

[doc] ScalaHttpFilters should mention use of CSRFFilter #1689

Closed
wsargent opened this issue Sep 17, 2013 · 2 comments
Closed

[doc] ScalaHttpFilters should mention use of CSRFFilter #1689

wsargent opened this issue Sep 17, 2013 · 2 comments

Comments

@wsargent
Copy link
Member Author

For example, if you're going to override doFilter with CSRFFilter, you need to call the apply after the case class automagic apply, which is not the norm:

object Global extends GlobalSettings {
  override def doFilter(action:EssentialAction) = CSRFFilter().apply(next = action)
}

@wsargent
Copy link
Member Author

Closing this in favor of #1728

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

No branches or pull requests

1 participant