aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ConfigurationSetter.php
diff options
context:
space:
mode:
authorGravatar Patrick Crandol <patrick@crandol.com> 2018-11-18 13:34:41 -0500
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-11-18 19:34:41 +0100
commitebb9ee0873333c111546412ad08bf5207529f24a (patch)
tree67387066bb14df60973d43a811c51055b09ad7c9 /app/Models/ConfigurationSetter.php
parente20c7ef1b020df492923ca9a445fb8fa172a11dd (diff)
Edit cookie_duration from GUI (#2137)
* Use cookie_duration correctly * WIP allow cookie_duration to be modified from GUI * Allow cookie_duration to actually be updated * Update view to properly display cookie_duration * Add new strings in Translation Files * Fix typo * Fix trailing whitespace * I18n: French translation * I18n fr: Forgot todo
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
-rw-r--r--app/Models/ConfigurationSetter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php
index ad703dfc5..ec6380df4 100644
--- a/app/Models/ConfigurationSetter.php
+++ b/app/Models/ConfigurationSetter.php
@@ -335,6 +335,9 @@ class FreshRSS_ConfigurationSetter {
private function _limits(&$data, $values) {
$max_small_int = 16384;
$limits_keys = array(
+ 'cookie_duration' => array(
+ 'min' => 0,
+ ),
'cache_duration' => array(
'min' => 0,
),