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
7 years ago
Commit
516b86caa5fffbc81160f6473c491c58daf64bd5
1 parent
b6ce88f7
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
apps/passport/models/login-service.js
apps/passport/models/login-service.js
View file @
516b86c
...
...
@@ -127,6 +127,7 @@ module.exports = class extends global.yoho.BaseModel {
req
.
session
.
TOKEN_
=
publicToken
;
req
.
session
.
LOGIN_UID_
=
uid
;
req
.
session
.
USER_MOBILE
=
data
.
mobile
;
req
.
session
.
SESSION_TYPE
=
config
.
app
;
res
.
cookie
(
'_TOKEN'
,
publicToken
,
{
domain
:
config
.
cookieDomain
,
...
...
Please
register
or
login
to post a comment