Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
8 years ago
Commit
337e1cb6f4bce349a86bc69553c7c747c5c3e1f5
1 parent
52dac670
fix jump url
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/passport/controllers/login.js
apps/passport/controllers/login.js
View file @
337e1cb
...
...
@@ -30,7 +30,7 @@ function doPassportCallback(req, res, user) {
let
shoppingKey
=
cookie
.
getShoppingKey
(
req
);
let
refer
=
cookie
.
getRefer
(
req
,
config
.
siteUrl
);
//
包括多重跳转的问题,
把需要跳转的链接拿出来
//
第三方登录不能正确跳转:
把需要跳转的链接拿出来
// 形如:http://www.yohobuy.com/signin.html?refer=http://item.yohobuy.com/
// product/pro_550930_682618/CLING6970071800516ZhiNengXinLvYunDongShouHuanVOC.html?from=search-s-CLING_1_8'
if
(
_
.
includes
(
refer
,
'refer='
))
{
...
...
Please
register
or
login
to post a comment