summaryrefslogtreecommitdiffstats
path: root/pages/login.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-06-03 17:31:49 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-06-03 17:31:49 -0700
commit538c6f28e50b92b77ef9ce7a6a49641327eeed1a (patch)
tree7c4748dc9c5ecc280c272c2a2bea614cf05454ab /pages/login.php
parent9d7111eb41c77083bff3842e895000d8e4028827 (diff)
downloadpathery-538c6f28e50b92b77ef9ce7a6a49641327eeed1a.tar.xz
Yahoo work around with openid_identity
Diffstat (limited to 'pages/login.php')
-rw-r--r--pages/login.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/pages/login.php b/pages/login.php
index d277cb7..e5ccda8 100644
--- a/pages/login.php
+++ b/pages/login.php
@@ -52,8 +52,10 @@ try {
$display = 'noname';
}
$email = $openIdAttributes['contact/email'];
- $claimedid = $openid->__get('identity');
-
+ //$claimedid = $openid->__get('identity');
+ // Yahoo fix:
+ $claimedid = $openid->__get('openid_identity');
+
if ($claimedid == "https://open.login.yahooapis.com/openid20/user_profile/xrds") {
die(throwLoginError($openIdAttributes, "Yahoo went full retard, and didn't send any way for me to identify you..."));
}