Authored by 梁志锋

Merge remote-tracking branch 'remotes/origin/hotfix/passport' into master2

... ... @@ -63,12 +63,12 @@ function formatUsernName(userName) {
* @return {[type]} [description]
*/
function setLoginStatus(data) {
var info = data.data,
var info = data,
loginHtml,
name;
if (data.result !== -1) {
name = formatUsernName(info.profile_name);
name = formatUsernName(info.profileName);
loginHtml = '<span>Hi~</span>' +
'<a href="//www.yohobuy.com/home?t=' + info.random + '">' + name + '</a>&nbsp;' +
'<a href="//www.yohobuy.com/logout.html">[退出]</a>';
... ...