@@ 1778-1782 (lines=5) @@ | ||
1775 | // Get information of the key |
|
1776 | $output = executeQuery('member.getAutologin', $args); |
|
1777 | // If no information exists, delete a cookie |
|
1778 | if(!$output->toBool() || !$output->data) |
|
1779 | { |
|
1780 | setCookie('xeak',null,$_SERVER['REQUEST_TIME']+60*60*24*365); |
|
1781 | return; |
|
1782 | } |
|
1783 | ||
1784 | $oMemberModel = getModel('member'); |
|
1785 | $config = $oMemberModel->getMemberConfig(); |
|
@@ 1790-1794 (lines=5) @@ | ||
1787 | $user_id = ($config->identifier == 'user_id') ? $output->data->user_id : $output->data->email_address; |
|
1788 | $password = $output->data->password; |
|
1789 | ||
1790 | if(!$user_id || !$password) |
|
1791 | { |
|
1792 | setCookie('xeak',null,$_SERVER['REQUEST_TIME']+60*60*24*365); |
|
1793 | return; |
|
1794 | } |
|
1795 | ||
1796 | $do_auto_login = false; |
|
1797 |