Improve CSRF missing error message

Fixes gh-3738
This commit is contained in:
Rob Winch 2016-03-09 14:47:41 -06:00
parent f73357927f
commit 40f687aa78
1 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,6 @@ package org.springframework.security.web.csrf;
public class MissingCsrfTokenException extends CsrfException {
public MissingCsrfTokenException(String actualToken) {
super("Expected CSRF token not found. Has your session expired?");
super("Could not verify the provided CSRF token because your session was not found.");
}
}