summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-06-04 05:01:54 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2013-06-04 05:01:54 -0500
commit7760d6531dc67a0f06ae4c1f924497c4d1256f98 (patch)
tree1141e5a423987d409acb7f25cc216c5fe535408a
parent27a2b9c138b67ff585a64f1b1aff1423176b58f8 (diff)
downloadpathery-7760d6531dc67a0f06ae4c1f924497c4d1256f98.tar.xz
Fix issue with LightOpenID / Yahoo
-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;
}