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
xiaowei
9 years ago
Commit
6d0aa75c868cb866465e1ec43572d7cb5e770624
1 parent
82b0ed95
PC登录
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Login.php
yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Login.php
View file @
6d0aa75
...
...
@@ -17,10 +17,6 @@ class LoginController extends WebAction
// 设置登录有效时间30分钟, 防机器刷
$this
->
setSession
(
'_LOGIN_EXPIRE'
,
time
()
+
1800
);
// 清除客户端
$this
->
setCookie
(
'_UID'
,
''
);
$this
->
setCookie
(
'_TOKEN'
,
''
);
//登录后跳转页面
$refer
=
empty
(
$_SERVER
[
"HTTP_REFERER"
])
?
''
:
$_SERVER
[
"HTTP_REFERER"
];
if
(
!
empty
(
$refer
))
{
...
...
Please
register
or
login
to post a comment