summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-06-04 03:23:23 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-06-04 03:23:23 -0700
commit4d657b1f9b42f44cb86452984361ccd2dcaaf794 (patch)
tree9b2590bde58ae903b0e0d131e767661a3fef1653 /includes
parent1e38f5d653cd831a226f47e2b87ab005b65aa677 (diff)
parent682b9ee96b6aad33b1339ce0fca4c855deaec1e3 (diff)
downloadpathery-4d657b1f9b42f44cb86452984361ccd2dcaaf794.tar.xz
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'includes')
-rw-r--r--includes/openid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/openid.php b/includes/openid.php
index 85af9a8..d0e656f 100644
--- a/includes/openid.php
+++ b/includes/openid.php
@@ -349,7 +349,7 @@ class LightOpenID
$headers = $this->request($url, 'HEAD');
$next = false;
- if (isset($headers['x-xrds-location'])) {
+ if (isset($headers['x-xrds-location']) && !isset($this->data['openid_claimed_id'])) {
$url = $this->build_url(parse_url($url), parse_url(trim($headers['x-xrds-location'])));
$next = true;
}