@@ 1658-1662 (lines=5) @@ | ||
1655 | // Get information of the key |
|
1656 | $output = executeQuery('member.getAutologin', $args); |
|
1657 | // If no information exists, delete a cookie |
|
1658 | if(!$output->toBool() || !$output->data) |
|
1659 | { |
|
1660 | setCookie('xeak',null,$_SERVER['REQUEST_TIME']+60*60*24*365); |
|
1661 | return; |
|
1662 | } |
|
1663 | ||
1664 | $oMemberModel = getModel('member'); |
|
1665 | $config = $oMemberModel->getMemberConfig(); |
|
@@ 1670-1674 (lines=5) @@ | ||
1667 | $user_id = ($config->identifier == 'user_id') ? $output->data->user_id : $output->data->email_address; |
|
1668 | $password = $output->data->password; |
|
1669 | ||
1670 | if(!$user_id || !$password) |
|
1671 | { |
|
1672 | setCookie('xeak',null,$_SERVER['REQUEST_TIME']+60*60*24*365); |
|
1673 | return; |
|
1674 | } |
|
1675 | ||
1676 | $do_auto_login = false; |
|
1677 |