From a12425629e68c51a2f05c3f1cfa990e694ea0424 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 29 Jan 2016 12:44:38 +0100 Subject: fixes #412, warn visitor if auth key no longer valid --- include/functions_user.inc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/functions_user.inc.php') diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 2b9d48752..340bca9cb 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -1506,6 +1506,7 @@ SELECT // is the key still valid? if (strtotime($key['expired_on']) < strtotime($key['dbnow'])) { + $page['auth_key_invalid'] = true; return false; } -- cgit v1.2.3