Browse Source

fixed cookie creation for reCAPTCHA if it's not active

develop
Raphael Jackstadt 10 years ago
parent
commit
5df18c0897
  1. 2
      application/libraries/Aauth.php

2
application/libraries/Aauth.php

@ -259,6 +259,7 @@ class Aauth {
$this->CI->input->set_cookie($cookie);
}
if($this->config_vars['recaptcha_active']){
$reCAPTCHA_cookie = array(
'name' => 'reCAPTCHA',
'value' => 'false',
@ -266,6 +267,7 @@ class Aauth {
'path' => '/',
);
$this->CI->input->set_cookie($reCAPTCHA_cookie);
}
// update last login
$this->update_last_login($row->id);

Loading…
Cancel
Save