summaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-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..."));
}