Files
WebTutorials/csrf.html

4 lines
241 B
HTML

<!--This is an example of manual csrf token inclusion using thymeleaf-->
<meta name="_csrf" th:content="${_csrf.token}">
<meta name="_csrf_header" th:content="${_csrf.headerName}">
<meta name="_csrf_name" th:content="${_csrf.parameterName}">