summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
Diffstat (limited to 'Auth')
-rw-r--r--Auth/OpenID/FileStore.php2
-rw-r--r--Auth/OpenID/SQLStore.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Auth/OpenID/FileStore.php b/Auth/OpenID/FileStore.php
index b312a66..a00c43f 100644
--- a/Auth/OpenID/FileStore.php
+++ b/Auth/OpenID/FileStore.php
@@ -366,7 +366,7 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
return null;
}
- if ( abs($timestamp - gmmktime()) > $Auth_OpenID_SKEW ) {
+ if ( abs($timestamp - mktime()) > $Auth_OpenID_SKEW ) {
return False;
}
diff --git a/Auth/OpenID/SQLStore.php b/Auth/OpenID/SQLStore.php
index 15f7971..2fae5d3 100644
--- a/Auth/OpenID/SQLStore.php
+++ b/Auth/OpenID/SQLStore.php
@@ -497,7 +497,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
{
global $Auth_OpenID_SKEW;
- if ( abs($timestamp - gmmktime()) > $Auth_OpenID_SKEW ) {
+ if ( abs($timestamp - mktime()) > $Auth_OpenID_SKEW ) {
return False;
}