mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow using the default session timeout.
This commit is contained in:
parent
fcf4e8cd21
commit
34a2fb1bdc
@ -65,7 +65,7 @@ if ($_POST) {
|
||||
|
||||
if (!$input_errors) {
|
||||
|
||||
if(isset($_POST['session_timeout']))
|
||||
if(isset($_POST['session_timeout']) && $_POST['session_timeout'] != "")
|
||||
$config['system']['webgui']['session_timeout'] = intval($_POST['session_timeout']);
|
||||
else
|
||||
unset($config['system']['webgui']['session_timeout']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user