@@ 1753-1757 (lines=5) @@ | ||
1750 | // Get information of the key |
|
1751 | $output = executeQuery('member.getAutologin', $args); |
|
1752 | // If no information exists, delete a cookie |
|
1753 | if(!$output->toBool() || !$output->data) |
|
1754 | { |
|
1755 | setCookie('xeak',null,$_SERVER['REQUEST_TIME']+60*60*24*365); |
|
1756 | return; |
|
1757 | } |
|
1758 | ||
1759 | $oMemberModel = getModel('member'); |
|
1760 | $config = $oMemberModel->getMemberConfig(); |
|
@@ 1765-1769 (lines=5) @@ | ||
1762 | $user_id = ($config->identifier == 'user_id') ? $output->data->user_id : $output->data->email_address; |
|
1763 | $password = $output->data->password; |
|
1764 | ||
1765 | if(!$user_id || !$password) |
|
1766 | { |
|
1767 | setCookie('xeak',null,$_SERVER['REQUEST_TIME']+60*60*24*365); |
|
1768 | return; |
|
1769 | } |
|
1770 | ||
1771 | $do_auto_login = false; |
|
1772 |