add httponly to cookie settings

This commit is contained in:
HB9HIL
2024-07-11 17:43:31 +02:00
parent 4eddb78b8e
commit f0f0f2ff8e

View File

@@ -881,7 +881,8 @@ class User extends CI_Controller {
'name' => 'keep_login',
'value' => $encrypted_string,
'expire' => '2592000', // 30 days
'secure' => TRUE
'secure' => TRUE,
'httponly' => TRUE
);
$this->input->set_cookie($cookie);
}