mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
Issue 2556 Autologin logout process refining.
Sign in Blocked message refining. git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11601 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2275c779f1
commit
0c2d955b7d
2 changed files with 7 additions and 5 deletions
|
|
@ -1571,10 +1571,10 @@
|
|||
{
|
||||
foreach($content as $val)
|
||||
{
|
||||
$message .= '<li>'.date('Y-m-d H:i:s P',$val[2]).'<br /> Access IP: '.$val[0].'<br /> Message: '.$val[1].'</li>';
|
||||
$message .= '<li>'.Context::getLang('regdate').': '.date('Y-m-d h:i:sa',$val[2]).'<ul><li>'.Context::getLang('ipaddress').': '.$val[0].'</li><li>'.Context::getLang('message').': '.$val[1].'</li></ul></li>';
|
||||
}
|
||||
$message .= '</ul>';
|
||||
$content = sprintf(Context::getLang('login_fail_report_contents'),$message,date('Y-m-d H:i:s P'));
|
||||
$content = sprintf(Context::getLang('login_fail_report_contents'),$message,date('Y-m-d h:i:sa'));
|
||||
|
||||
//send message
|
||||
$oCommunicationController = &getController('communication');
|
||||
|
|
@ -2065,10 +2065,12 @@
|
|||
session_destroy();
|
||||
setcookie(session_name(), '', time()-42000, '/');
|
||||
setcookie('sso','',time()-42000, '/');
|
||||
setcookie('xeak','',time()-42000, '/');
|
||||
|
||||
if($memberSrl)
|
||||
if($memberSrl || $_COOKIE['xeak'])
|
||||
{
|
||||
$args->member_srl = $memberSrl;
|
||||
$args->autologin_key = $_COOKIE['xeak'];
|
||||
$output = executeQuery('member.deleteAutologin', $args);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue