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
毕凯
2016-06-29 14:27:14 +0800
Commit
3a751a2d1654fb62d55d1fa52966e187d26e8b10
1 parent
def9160d
登录地址判断
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/passport/controllers/reg.js
apps/passport/controllers/reg.js
View file @
3a751a2
...
...
@@ -270,7 +270,7 @@ let mobileRegister = (req, res, next) => {
refer
=
'/?go=1'
;
}
if
(
/sign|login/
.
test
(
refer
))
{
if
(
/sign
in
|login/
.
test
(
refer
))
{
refer
=
'/?go=1'
;
}
...
...
Please
register
or
login
to post a comment