diff options
| author | 2014-08-10 21:08:10 +0200 | |
|---|---|---|
| committer | 2014-08-10 21:08:10 +0200 | |
| commit | 93a77f84d45ee4eccda7c837dc08f17360f3de0f (patch) | |
| tree | 5f85617a50bd1f20abdf3d138993cd202ff3d568 /app | |
| parent | afa8f92b800bcb8f9187478b0d2528c29279fb1b (diff) | |
Change cookie lifetime to 1 month.
See https://github.com/marienfressinaud/FreshRSS/issues/465
Diffstat (limited to 'app')
| -rwxr-xr-x | app/Controllers/indexController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index 18b99d0df..b907c8eed 100755 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -314,8 +314,8 @@ class FreshRSS_index_Controller extends Minz_ActionController { Minz_Session::_param('currentUser', $username); Minz_Session::_param('passwordHash', $s); if ($keep_logged_in) { - // New cookie with a lifetime of 1 year! - Minz_Session::keepCookie(31536000); + // New cookie with a lifetime of 1 month. + Minz_Session::keepCookie(2592000); Minz_Session::regenerateID(); } } else { |
