From 7760d6531dc67a0f06ae4c1f924497c4d1256f98 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Tue, 4 Jun 2013 05:01:54 -0500 Subject: Fix issue with LightOpenID / Yahoo --- includes/openid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3