diff options
author | plegall <plg@piwigo.org> | 2016-01-29 12:44:38 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2016-01-29 12:44:38 +0100 |
commit | a12425629e68c51a2f05c3f1cfa990e694ea0424 (patch) | |
tree | 79b884e92c5554468b9b786de693a40d429aecae /include/functions_user.inc.php | |
parent | 77888174cff00f8bdf8b0a4c04aca64b3fdcc5f4 (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.php | 1 |
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; } |