summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Auth/OpenID/Consumer/Consumer.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Auth/OpenID/Consumer/Consumer.php b/Auth/OpenID/Consumer/Consumer.php
index 9fa428f..b5719f9 100644
--- a/Auth/OpenID/Consumer/Consumer.php
+++ b/Auth/OpenID/Consumer/Consumer.php
@@ -731,8 +731,6 @@ class Auth_OpenID_Consumer {
*/
function _splitToken($token)
{
- global $_Auth_OpenID_TOKEN_LIFETIME;
-
$token = base64_decode($token);
if (strlen($token) < 20) {
return null;
@@ -755,7 +753,7 @@ class Auth_OpenID_Consumer {
return null;
}
- if ($ts + $_Auth_OpenID_TOKEN_LIFETIME < time()) {
+ if ($ts + $this->token_lifetime < time()) {
return null;
}