summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-12-28 11:55:19 -0500
committerChris Buechler <cmb@pfsense.org>2010-12-28 11:55:19 -0500
commit3e360ca730c2d59278c0968ede8faa6283ce9e31 (patch)
treef35e95b9a77272bb466c44b96bad82a985e578dc /usr
parenta82e6d3733052de04496fe9d18506ac58dee0392 (diff)
downloadpfsense-3e360ca730c2d59278c0968ede8faa6283ce9e31.zip
pfsense-3e360ca730c2d59278c0968ede8faa6283ce9e31.tar.gz
clarify CSRF failure message
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/csrf/csrf-magic.php2
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>
";
}
OpenPOWER on IntegriCloud