mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 13:53:14 +00:00
Improve CSRF missing error message
Fixes gh-3738
This commit is contained in:
parent
f73357927f
commit
40f687aa78
@ -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.");
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user