summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-01-13 20:23:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-01-13 20:23:52 +0000
commit5ed85831cd8359ecb3ef2b82301c3ae3d08ebda6 (patch)
tree0eeb07e36b41dedb1a9449b788416499c1f810ed /usr/local/www
parentf502151d14bab980455b5b3c51f569a04a1a7d52 (diff)
downloadpfsense-5ed85831cd8359ecb3ef2b82301c3ae3d08ebda6.zip
pfsense-5ed85831cd8359ecb3ef2b82301c3ae3d08ebda6.tar.gz
* Hide password field
* Remove session timeout graphic * Allow session timeout to remain blank
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_usermanager_settings.php21
1 files changed, 11 insertions, 10 deletions
diff --git a/usr/local/www/system_usermanager_settings.php b/usr/local/www/system_usermanager_settings.php
index 2aabec3..b402fae 100755
--- a/usr/local/www/system_usermanager_settings.php
+++ b/usr/local/www/system_usermanager_settings.php
@@ -56,16 +56,17 @@ if ($_POST) {
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
- $timeout = intval($_POST['session_timeout']);
- if ($timeout != "" && !is_numeric($timeout))
- $input_errors[] = gettext("Session timeout must be an integer with value 1 or greater.");
+ if($_POST['session_timeout']) {
+ $timeout = intval($_POST['session_timeout']);
+ if ($timeout != "" && !is_numeric($timeout))
+ $input_errors[] = gettext("Session timeout must be an integer with value 1 or greater.");
- if ($timeout < 1)
- $input_errors[] = gettext("Session timeout must be an integer with value 1 or greater.");
+ if ($timeout < 1)
+ $input_errors[] = gettext("Session timeout must be an integer with value 1 or greater.");
- if ($timeout > 999)
- $input_errors[] = gettext("Session timeout must be an integer with value 1 or greater.");
-
+ if ($timeout > 999)
+ $input_errors[] = gettext("Session timeout must be an integer with value 1 or greater.");
+ }
if (!$input_errors) {
@@ -153,7 +154,7 @@ if(!$pconfig['backend'])
<tr>
<td width="22%" valign="top" class="vncell">Session Timeout</td>
<td width="78%" class="vtable">
- <input name="session_timeout" id="session_timeout" type="text"size="8" class="formfld unknown" value="<?=htmlspecialchars($pconfig['session_timeout']);?>" />
+ <input name="session_timeout" id="session_timeout" type="text" size="8" value="<?=htmlspecialchars($pconfig['session_timeout']);?>" />
<br />
<?=gettext("Time in minutes to expire idle management sessions.");?><br />
</td>
@@ -186,7 +187,7 @@ if(!$pconfig['backend'])
<tr>
<td width="22%" valign="top" class="vncell">LDAP Binding password</td>
<td width="78%" class="vtable">
- <input name="ldapbindpw" size="65" value="<?=htmlspecialchars($pconfig['ldapbindpw']);?>">
+ <input name="ldapbindpw" type="password" size="65" value="<?=htmlspecialchars($pconfig['ldapbindpw']);?>">
</td>
</tr>
<tr>
OpenPOWER on IntegriCloud