Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
bf2c731d0e1eebafa371f89b79e04b447b5e8375
1 parent
3369c923
log in eng
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/Action/WebAction.php
library/Action/WebAction.php
View file @
bf2c731
...
...
@@ -384,7 +384,7 @@ class WebAction extends Controller_Abstract
$token
=
Helpers
::
makeToken
(
$uid
);
$uidCookie
=
$userInfo
[
'data'
][
'profile_name'
]
.
'::'
.
$userInfo
[
'data'
][
'uid'
]
.
'::'
.
$userInfo
[
'data'
][
'vip_info'
][
'title'
]
.
'::'
.
$token
;
$this
->
setCookie
(
'_UID'
,
$uidCookie
,
time
()
+
86400
*
360
);
UdpLog
::
info
(
'
【登录】同步登陆cookie生成
'
,
$uidCookie
);
UdpLog
::
info
(
'
syncUserCookie :
'
,
$uidCookie
);
}
$this
->
setSession
(
'_TOKEN'
,
$token
);
$this
->
setSession
(
'_LOGIN_UID'
,
$uid
);
...
...
Please
register
or
login
to post a comment