Authored by 周少峰

log in eng

@@ -384,7 +384,7 @@ class WebAction extends Controller_Abstract @@ -384,7 +384,7 @@ class WebAction extends Controller_Abstract
384 $token = Helpers::makeToken($uid); 384 $token = Helpers::makeToken($uid);
385 $uidCookie = $userInfo['data']['profile_name'] . '::' . $userInfo['data']['uid'] . '::' . $userInfo['data']['vip_info']['title'] . '::' . $token; 385 $uidCookie = $userInfo['data']['profile_name'] . '::' . $userInfo['data']['uid'] . '::' . $userInfo['data']['vip_info']['title'] . '::' . $token;
386 $this->setCookie('_UID',$uidCookie,time() + 86400 * 360); 386 $this->setCookie('_UID',$uidCookie,time() + 86400 * 360);
387 - UdpLog::info('【登录】同步登陆cookie生成',$uidCookie); 387 + UdpLog::info('syncUserCookie :',$uidCookie);
388 } 388 }
389 $this->setSession('_TOKEN', $token); 389 $this->setSession('_TOKEN', $token);
390 $this->setSession('_LOGIN_UID', $uid); 390 $this->setSession('_LOGIN_UID', $uid);