reset password
Author Message
parthvi_patel
Posts: 4
Posted 01:53 Aug 20, 2015 |

I put this tag in my login.jsp.

<input type="hidden" name="_csrf" value="">

but I have still this error.

Invalid CSRF Token '' was found on the request parameter '_csrf' or header 'X-CSRF-TOKEN'

and <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" /> I also tried this tag also.but I can't get the solution.

shashank7991
Posts: 18
Posted 13:47 Aug 20, 2015 |

try this.

<input type="hidden" name="_csrf" value="${_csrf.token}" />