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
Plain Diff
Browse Files
Authored by
ccbikai(👎🏻🍜)
2016-09-27 18:01:55 +0800
Commit
9d727b7260175080750904695382e87298b83cc7
2 parents
17485331
a21e16ba
Merge branch 'hotfix/wechatLogin'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
apps/passport/controllers/bind.js
apps/passport/controllers/bind.js
View file @
9d727b7
...
...
@@ -245,7 +245,9 @@ const bind = {
let
refer
=
req
.
cookies
.
refer
;
let
type
=
req
.
query
.
type
;
refer
=
helpers
.
urlFormat
(
'/?go=1'
);
if
(
!
refer
||
/signin|login/
.
test
(
refer
))
{
refer
=
helpers
.
urlFormat
(
'/?go=1'
);
}
res
.
render
(
'bind/success'
,
{
isPassportPage
:
true
,
...
...
Please
register
or
login
to post a comment