diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-12-28 11:55:19 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-12-28 11:55:19 -0500 |
commit | 3e360ca730c2d59278c0968ede8faa6283ce9e31 (patch) | |
tree | f35e95b9a77272bb466c44b96bad82a985e578dc /usr | |
parent | a82e6d3733052de04496fe9d18506ac58dee0392 (diff) | |
download | pfsense-3e360ca730c2d59278c0968ede8faa6283ce9e31.zip pfsense-3e360ca730c2d59278c0968ede8faa6283ce9e31.tar.gz |
clarify CSRF failure message
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/csrf/csrf-magic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/csrf/csrf-magic.php b/usr/local/www/csrf/csrf-magic.php index 447ecc9..ccb1617 100644 --- a/usr/local/www/csrf/csrf-magic.php +++ b/usr/local/www/csrf/csrf-magic.php @@ -244,7 +244,7 @@ function csrf_get_tokens() { */
function csrf_callback($tokens) {
header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden');
- echo "<html><head><title>CSRF check failed</title></head><body>CSRF check failed. Please enable cookies.<br />Debug: ".$tokens."</body></html>
+ echo "<html><head><title>CSRF check failed</title></head><body>CSRF check failed. Either your session has expired, this page has been inactive too long, or you need to enable cookies.<br />Debug: ".$tokens."</body></html>
";
}
|