3ec367a759
* Added new dep: gorilla/csrf * CSRF field in forms * CSRF variable in commontemplatevariables * New key for messages and user context Please change EnableSecureCSRF to false when testing locally and don't merge config/env.go with the changes
3 lignes
Pas d'EOL
48 o
HTML
3 lignes
Pas d'EOL
48 o
HTML
{{ define "csrf_field"}}
|
|
{{$.CsrfField}}
|
|
{{end}} |