Reference https://blog.csdn.net/shawearn1027/article/details/71119587
Add < input type= "hidden" th:name= "${_csrf.parameterName}" th:value= "${_csrf.token}" /> to the form
Reference https://blog.csdn.net/shawearn1027/article/details/71119587
Add < input type= "hidden" th:name= "${_csrf.parameterName}" th:value= "${_csrf.token}" /> to the form