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
htoooth
2016-12-07 17:02:19 +0800
Commit
934cbd9ca19039a5a94657f3cb3eb2efdf4c3cd8
1 parent
f74715b0
fix login
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/passport/controllers/back.js
apps/passport/controllers/login.js
package.json
apps/passport/controllers/back.js
View file @
934cbd9
...
...
@@ -25,7 +25,7 @@ const index = (req, res, next) => {
});
// 清除 session
req
.
session
=
null
;
req
.
session
=
{}
;
service
.
indexPageDataAsync
()
.
then
(
result
=>
{
...
...
apps/passport/controllers/login.js
View file @
934cbd9
...
...
@@ -117,7 +117,7 @@ const local = {
domain
:
config
.
cookieDomain
});
req
.
session
=
null
;
req
.
session
=
{}
;
let
bindMobile
=
_
.
trim
(
req
.
query
.
bindMobile
||
''
);
let
bindArea
=
'+'
+
_
.
trim
(
req
.
query
.
bindArea
||
'86'
);
...
...
package.json
View file @
934cbd9
...
...
@@ -57,7 +57,7 @@
"request-ip"
:
"^1.2.2"
,
"serve-favicon"
:
"^2.3.0"
,
"uuid"
:
"^2.0.2"
,
"yoho-node-lib"
:
"0.2.1
"
,
"yoho-node-lib"
:
"0.2.2
"
,
"yoho-zookeeper"
:
"^1.0.4"
},
"devDependencies"
:
{
...
...
Please
register
or
login
to post a comment