summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID
diff options
context:
space:
mode:
authorMarco Ceppi <marco@ceppi.net>2014-01-09 10:39:57 -0800
committerMarco Ceppi <marco@ceppi.net>2014-01-09 10:39:57 -0800
commit1c83d799e3655e8ae0b435c9e8fc056e553371d9 (patch)
tree4f8c5e6862426bcb3594d15f1bc99f253496f063 /Auth/OpenID
parent2b6c3ea36a4e113732cb559659e31b19622ebade (diff)
parent7e3e8e787e5bafaea5ad50fa22e9bac2505a7acc (diff)
downloadphp-openid-1c83d799e3655e8ae0b435c9e8fc056e553371d9.zip
php-openid-1c83d799e3655e8ae0b435c9e8fc056e553371d9.tar.gz
php-openid-1c83d799e3655e8ae0b435c9e8fc056e553371d9.tar.bz2
Merge pull request #111 from stutiredboy/master
Update Consumer.php for Auth_OpenID_DumbStore
Diffstat (limited to 'Auth/OpenID')
-rw-r--r--Auth/OpenID/Consumer.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index f634736..9ac0c50 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -616,6 +616,9 @@ class Auth_OpenID_GenericConsumer {
$this->store = $store;
$this->negotiator = Auth_OpenID_getDefaultNegotiator();
$this->_use_assocs = (is_null($this->store) ? false : true);
+ if (get_class($this->store) == "Auth_OpenID_DumbStore") {
+ $this->_use_assocs = false;
+ }
$this->fetcher = Auth_Yadis_Yadis::getHTTPFetcher();