diff --git a/google/connect.php b/google/connect.php index 275b9cb..5496eaa 100644 --- a/google/connect.php +++ b/google/connect.php @@ -8,6 +8,7 @@ $openid = new LightOpenID; $openid->identity = 'https://www.google.com/accounts/o8/id'; $openid->required = array('namePerson/first', 'namePerson/last', 'contact/email'); + $openid->realm = home_url(); $openid->returnUrl = home_url('index.php?social-connect=google'); header('Location: ' . $openid->authUrl()); die(); diff --git a/yahoo/connect.php b/yahoo/connect.php index 4a9114e..1e23a96 100644 --- a/yahoo/connect.php +++ b/yahoo/connect.php @@ -8,6 +8,7 @@ $openid = new LightOpenID; $openid->identity = 'me.yahoo.com'; $openid->required = array('namePerson', 'namePerson/friendly', 'contact/email'); + $openid->realm = home_url(); $openid->returnUrl = home_url('index.php?social-connect=yahoo'); header('Location: ' . $openid->authUrl()); die();