diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-02-24 18:36:16 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-02-24 18:36:16 -0500 |
commit | 44be6dba37be635997b482af5cffc48f15257461 (patch) | |
tree | 114e64708a3fc8f520679953a2f38b5053f8fbb8 | |
parent | bdadaf3c1fb09bee2a9e8e0e7dfd3ae34172b89e (diff) | |
download | pfsense-44be6dba37be635997b482af5cffc48f15257461.zip pfsense-44be6dba37be635997b482af5cffc48f15257461.tar.gz |
fix previous commit
-rw-r--r-- | etc/inc/auth.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index df4e7d3..08993ff 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -924,7 +924,7 @@ function session_auth($backing) { if ( $config['system']['webgui']['session_timeout'] == 0 || $config['system']['webgui']['session_timeout'] == "") { $_SESSION['last_access'] = time(); - } elseif (!isset($config['system']['webgui']['session_timeout']) { + } elseif (!isset($config['system']['webgui']['session_timeout'])) { /* Default to 4 hour timeout if one is not set */ if ($_SESSION['last_access'] < (time() - 14400)) { $_GET['logout'] = true; @@ -999,4 +999,4 @@ function session_auth($backing) { return true; } -?> +?>
\ No newline at end of file |