mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
enforce minimum session expiration time of 43200 seconds for security and create session_token instead of using session id for hash creation
This commit is contained in:
@@ -439,7 +439,7 @@ $config['encryption_key'] = '%encryptionkey%';
|
||||
| 'sess_expiration'
|
||||
|
|
||||
| The number of SECONDS you want the session to last.
|
||||
| Setting to 0 (zero) means expire when the browser is closed.
|
||||
| Minimum is 43200 seconds (12 hours) for security reasons.
|
||||
|
|
||||
| 'sess_save_path'
|
||||
|
|
||||
@@ -476,7 +476,7 @@ $config['encryption_key'] = '%encryptionkey%';
|
||||
*/
|
||||
$config['sess_driver'] = 'files';
|
||||
$config['sess_cookie_name'] = 'ci_wavelog';
|
||||
$config['sess_expiration'] = 0;
|
||||
$config['sess_expiration'] = 43200;
|
||||
$config['sess_save_path'] = '/tmp';
|
||||
$config['sess_match_ip'] = FALSE;
|
||||
$config['sess_time_to_update'] = 300;
|
||||
|
||||
Reference in New Issue
Block a user