summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-05 18:16:44 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-05 18:16:44 +0000
commit3de9447703621867c59667161aeadabd20ef5de0 (patch)
tree27e25a991d41cb7b6d055e6ef529c96eee6b3eb7
parenteb0f4fc69efd3b623ad6ff7a0ae90274a2e787d7 (diff)
downloadpfsense-3de9447703621867c59667161aeadabd20ef5de0.zip
pfsense-3de9447703621867c59667161aeadabd20ef5de0.tar.gz
Do not allow changing the name of the auth server. Resolves #399.
-rw-r--r--usr/local/www/system_authservers.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/system_authservers.php b/usr/local/www/system_authservers.php
index 6dbe2b2..8fc6cb3 100644
--- a/usr/local/www/system_authservers.php
+++ b/usr/local/www/system_authservers.php
@@ -392,7 +392,12 @@ function select_clicked() {
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Descriptive name");?></td>
<td width="78%" class="vtable">
+ <?php if (!isset($id)): ?>
<input name="name" type="text" class="formfld unknown" id="name" size="20" value="<?=htmlspecialchars($pconfig['name']);?>"/>
+ <?php else: ?>
+ <strong><?=$pconfig[name];?></strong>
+ <input name='name' type='hidden' id='name' value="<?=htmlspecialchars($pconfig['name']);?>"/>
+ <?php endif; ?>
</td>
</tr>
<tr>
OpenPOWER on IntegriCloud