mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
add httponly to cookie settings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user