Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
7 years ago
Commit
9b89e3424970a7b69e7fb3d236fbc0f9fac74ac6
1 parent
6ccb655f
add-from
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/passport/controllers/login.js
apps/passport/controllers/login.js
View file @
9b89e34
...
...
@@ -175,7 +175,8 @@ const common = {
if
(
req
.
yoho
.
isWechat
&&
!
passLogin
)
{
return
res
.
redirect
(
helpers
.
urlFormat
(
'/passport/login/wechat'
,
{
refer
:
req
.
query
.
refer
||
req
.
get
(
'Referer'
)
||
'/'
refer
:
req
.
query
.
refer
||
req
.
get
(
'Referer'
)
||
'/'
,
from
:
req
.
query
.
from
}));
}
next
();
...
...
Please
register
or
login
to post a comment