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
Plain Diff
Browse Files
Authored by
郝肖肖
2017-04-18 16:16:26 +0800
Commit
bc34c96c8bab93608aec0cc110d52cf240a83e0d
2 parents
4d9f4f1d
2a4bae67
Merge branch 'feature/passReset' into release/5.6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
apps/passport/models/login-service.js
apps/passport/models/login-service.js
View file @
bc34c96
...
...
@@ -104,6 +104,9 @@ const syncUserSession = (user, req, res) => {
if
(
user
.
canSkip
&&
user
.
token
)
{
req
.
session
.
canSkip
=
user
.
canSkip
;
req
.
session
.
CSToken
=
user
.
token
;
}
else
{
delete
req
.
session
.
canSkip
;
delete
req
.
session
.
CSToken
;
}
if
(
isTipCert
&&
isTipCert
.
code
===
200
&&
isTipCert
.
data
)
{
...
...
Please
register
or
login
to post a comment