Skip to content

Commit

Permalink
Improve log message when no CSRF token found
Browse files Browse the repository at this point in the history
Closes gh-10436
  • Loading branch information
marcusdacoregio committed Nov 19, 2021
1 parent 6fcee07 commit 5a47e17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,6 +25,6 @@
public class MissingCsrfTokenException extends CsrfException {

public MissingCsrfTokenException(String actualToken) {
super("Could not verify the provided CSRF token because your session was not found.");
super("Could not verify the provided CSRF token because no token was found to compare.");
}
}

0 comments on commit 5a47e17

Please sign in to comment.