Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
9 years ago
Commit
2771631e4250103ddf6b8feadede57907de0f5df
1 parent
843c38c1
支付宝登录支持。
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 @
2771631
...
...
@@ -32,7 +32,7 @@ const _doPassportCallback = (req, res, user) => {
refer
=
!
BlockRedirectFilter
.
test
(
decodeURI
(
refer
))
?
decodeURI
(
refer
)
:
config
.
siteUrl
;
if
(
user
.
openId
&&
user
.
nickname
)
{
if
(
user
.
openId
)
{
let
signinByOpenID
=
LoginService
.
signinByOpenIDAsync
(
_
.
trim
(
user
.
nickname
),
_
.
trim
(
user
.
openId
),
_
.
trim
(
user
.
sourceType
),
_
.
trim
(
shoppingKey
),
...
...
Please
register
or
login
to post a comment