fixes bug refs YW-1515 partner login
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -204,7 +204,7 @@ class LoginController extends AbstractAction | @@ -204,7 +204,7 @@ class LoginController extends AbstractAction | ||
204 | $access = $qqconnect->getAccessToken(); | 204 | $access = $qqconnect->getAccessToken(); |
205 | /* 获取QQ腾讯用户的详细信息 */ | 205 | /* 获取QQ腾讯用户的详细信息 */ |
206 | $partnerInfo = $qqconnect->getUserInfo($access); | 206 | $partnerInfo = $qqconnect->getUserInfo($access); |
207 | - | 207 | + |
208 | $result = array(); | 208 | $result = array(); |
209 | if ($partnerInfo && is_array($partnerInfo)) { | 209 | if ($partnerInfo && is_array($partnerInfo)) { |
210 | $result = LoginData::signinByOpenID($partnerInfo['nickname'], $access['openid'], 'qq'); | 210 | $result = LoginData::signinByOpenID($partnerInfo['nickname'], $access['openid'], 'qq'); |
-
Please register or login to post a comment