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
hf
9 years ago
Commit
e720ed3d5917f76504fad6066bee54efc9ad9076
1 parent
f2fb5a4f
do fixes bug to logout clear old session
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Login.php
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Login.php
View file @
e720ed3
...
...
@@ -80,13 +80,14 @@ class LoginController extends AbstractAction
*/
public
function
outAction
()
{
// 清除服务端会话
$this
->
setSession
(
'_TOKEN'
,
''
);
$this
->
setSession
(
'_LOGIN_UID'
,
''
);
// 清除客户端
$this
->
setCookie
(
'_UID'
,
''
);
$this
->
setCookie
(
'_TOKEN'
,
''
);
$this
->
setCookie
(
'_SPK'
,
''
);
// 清除服务端会话
$this
->
setSession
(
'_TOKEN'
,
''
);
$this
->
setSession
(
'_LOGIN_UID'
,
''
);
$refer
=
$this
->
server
(
'HTTP_REFERER'
,
SITE_MAIN
);
$token
=
$this
->
get
(
'token'
);
...
...
Please
register
or
login
to post a comment