Skip to content

v0.1.2

Choose a tag to compare

@marcel-maqsood marcel-maqsood released this 23 May 12:39
· 18 commits to main since this release

Added:

  • AbstractRequestHandler now gets the CSRF-Guard automatically if exisiting, when handleAll() is used.
  • AbstractRequestHandler->generateResponseWithAttr() now automatically adds the CSRF Token to the template-data so devs dont need to keep it in mind.

You can just use the twig variable 'csrf' within your templates to secure your forms against CSRF attacks.