diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-06-03 17:31:49 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-06-03 17:31:49 -0700 |
commit | 538c6f28e50b92b77ef9ce7a6a49641327eeed1a (patch) | |
tree | 7c4748dc9c5ecc280c272c2a2bea614cf05454ab /pages | |
parent | 9d7111eb41c77083bff3842e895000d8e4028827 (diff) | |
download | pathery-538c6f28e50b92b77ef9ce7a6a49641327eeed1a.tar.xz |
Yahoo work around with openid_identity
Diffstat (limited to 'pages')
-rw-r--r-- | pages/login.php | 6 |
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..."));
}
|