From 27e808530ccb8816d742f4a04dd4f204e7ea9f8a Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Sat, 20 Apr 2013 05:58:27 -0700 Subject: [PATCH] Add message about third-party cookies --- lib/common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.inc.php b/lib/common.inc.php index 0608431e3..99c33dd23 100644 --- a/lib/common.inc.php +++ b/lib/common.inc.php @@ -99,7 +99,7 @@ if (in_array($user['auth'], array(AUTH_NOASSERTION, AUTH_EXPIRED, AUTH_INVALID)) } else if (in_array($user['auth'], array(AUTH_NOSESSION, AUTH_NOPERMISSION))) { // expire assertion cookie setcookie('assertion', '', time() - 3600, '/'); - die('You don\'t have permission to view this page. Log into Pokemon Showdown with an account of group @, &, or ~, and then come back to this page.'); + die('You don\'t have permission to view this page. Log into Pokemon Showdown with an account of group @, &, or ~, and then come back to this page. Alternatively, you might have third-party cookies disabled in your browser. You\'ll need to enable them before using the log viewer.'); } else if ($user['auth'] !== AUTH_VALID) { die('This should be impossible.'); }