caching and cache time configuration
[phancap.git] / src / phancap / Authenticator.php
index e918e993966898aeccfed336f1be3c71217f1387..73d4ae6c9f3f3b29f7f568b9fb9a25b61635e3cf 100644 (file)
@@ -29,7 +29,7 @@ class Authenticator
         }
 
         $timestamp = (int) $_GET['atimestamp'];
-        if ($timestamp + $config->timestampLifetime < time()) {
+        if ($timestamp + $config->timestampMaxAge < time()) {
             throw new \Exception('atimestamp too old');
         }