aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-01-29 12:44:38 +0100
committerplegall <plg@piwigo.org>2016-01-29 12:44:38 +0100
commita12425629e68c51a2f05c3f1cfa990e694ea0424 (patch)
tree79b884e92c5554468b9b786de693a40d429aecae /include/functions_user.inc.php
parent77888174cff00f8bdf8b0a4c04aca64b3fdcc5f4 (diff)
fixes #412, warn visitor if auth key no longer valid
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php1
1 files changed, 1 insertions, 0 deletions
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;
}