No mention of csrf in "Security" and "Creating pages from frontend" pages

Hello,

The documentation of Kirby is very useful for Kirby beginner like me, thank a lot to contributor, I’m very grateful.

I would like to suggest some improvement in two pages:

https://getkirby.com/docs/developer-guide/security
https://getkirby.com/docs/cookbook/creating-pages-from-frontend

It could be nice to add information about CSRF security issues. Indeed, Kirby has a csrf() function but there is no mention in these two pages.

Adding a chapter on how to use the csrf() function in a form or just link to this page: https://getkirby.com/docs/cheatsheet/helpers/csrf

In the code exemple, add the use of the csrf() function.

1 Like

Hi @gillesvauvarin,

thanks for your suggestion, it’s a good idea for a future update :slight_smile: .