git.cweiske.de
/
phancap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
caching and cache time configuration
[phancap.git]
/
src
/
phancap
/
Authenticator.php
diff --git
a/src/phancap/Authenticator.php
b/src/phancap/Authenticator.php
index e918e993966898aeccfed336f1be3c71217f1387..73d4ae6c9f3f3b29f7f568b9fb9a25b61635e3cf 100644
(file)
--- a/
src/phancap/Authenticator.php
+++ b/
src/phancap/Authenticator.php
@@
-29,7
+29,7
@@
class Authenticator
}
$timestamp = (int) $_GET['atimestamp'];
- if ($timestamp + $config->timestamp
Lifetim
e < time()) {
+ if ($timestamp + $config->timestamp
MaxAg
e < time()) {
throw new \Exception('atimestamp too old');
}