|
|
@ -136,7 +136,7 @@ class Aauth { |
|
|
|
$cookie = array( |
|
|
|
$cookie = array( |
|
|
|
'name' => 'user', |
|
|
|
'name' => 'user', |
|
|
|
'value' => '', |
|
|
|
'value' => '', |
|
|
|
'expire' => time()-3600, |
|
|
|
'expire' => -3600, |
|
|
|
'path' => '/', |
|
|
|
'path' => '/', |
|
|
|
); |
|
|
|
); |
|
|
|
$this->CI->input->set_cookie($cookie); |
|
|
|
$this->CI->input->set_cookie($cookie); |
|
|
@ -190,7 +190,7 @@ class Aauth { |
|
|
|
$reCAPTCHA_cookie = array( |
|
|
|
$reCAPTCHA_cookie = array( |
|
|
|
'name' => 'reCAPTCHA', |
|
|
|
'name' => 'reCAPTCHA', |
|
|
|
'value' => 'true', |
|
|
|
'value' => 'true', |
|
|
|
'expire' => time()+7200, |
|
|
|
'expire' => 7200, |
|
|
|
'path' => '/', |
|
|
|
'path' => '/', |
|
|
|
); |
|
|
|
); |
|
|
|
$this->CI->input->set_cookie($reCAPTCHA_cookie); |
|
|
|
$this->CI->input->set_cookie($reCAPTCHA_cookie); |
|
|
@ -316,7 +316,7 @@ class Aauth { |
|
|
|
$cookie = array( |
|
|
|
$cookie = array( |
|
|
|
'name' => 'user', |
|
|
|
'name' => 'user', |
|
|
|
'value' => $row->id . "-" . $random_string, |
|
|
|
'value' => $row->id . "-" . $random_string, |
|
|
|
'expire' => time() + 99*999*999, |
|
|
|
'expire' => 99*999*999, |
|
|
|
'path' => '/', |
|
|
|
'path' => '/', |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -331,7 +331,7 @@ class Aauth { |
|
|
|
$reCAPTCHA_cookie = array( |
|
|
|
$reCAPTCHA_cookie = array( |
|
|
|
'name' => 'reCAPTCHA', |
|
|
|
'name' => 'reCAPTCHA', |
|
|
|
'value' => 'false', |
|
|
|
'value' => 'false', |
|
|
|
'expire' => time()-3600, |
|
|
|
'expire' => -3600, |
|
|
|
'path' => '/', |
|
|
|
'path' => '/', |
|
|
|
); |
|
|
|
); |
|
|
|
$this->CI->input->set_cookie($reCAPTCHA_cookie); |
|
|
|
$this->CI->input->set_cookie($reCAPTCHA_cookie); |
|
|
@ -472,7 +472,7 @@ class Aauth { |
|
|
|
$cookie = array( |
|
|
|
$cookie = array( |
|
|
|
'name' => 'user', |
|
|
|
'name' => 'user', |
|
|
|
'value' => '', |
|
|
|
'value' => '', |
|
|
|
'expire' => time()-3600, |
|
|
|
'expire' => -3600, |
|
|
|
'path' => '/', |
|
|
|
'path' => '/', |
|
|
|
); |
|
|
|
); |
|
|
|
$this->CI->input->set_cookie($cookie); |
|
|
|
$this->CI->input->set_cookie($cookie); |
|
|
|