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 20:47:31 +0800
Commit
6279c28a22bf5594ee819b54ad52010ac233415e
2 parents
fabdc205
9d727b72
Merge branch 'master' into release/5.0.0
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 @
6279c28
...
...
@@ -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