mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
(trust, csr) add optional ou field, closes https://github.com/opnsense/core/issues/1121
This commit is contained in:
parent
5ec2101ac2
commit
3973a6ce86
@ -464,6 +464,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
'organizationName' => $pconfig['csr_dn_organization'],
|
||||
'emailAddress' => $pconfig['csr_dn_email'],
|
||||
'commonName' => $pconfig['csr_dn_commonname']);
|
||||
if (!empty($pconfig['csr_dn_organizationalunit'])) {
|
||||
$dn['organizationalUnitName'] = $pconfig['csr_dn_organizationalunit'];
|
||||
}
|
||||
if (count($altnames)) {
|
||||
$altnames_tmp = "";
|
||||
foreach ($altnames as $altname) {
|
||||
@ -1056,6 +1059,17 @@ $( document ).ready(function() {
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a id="help_for_digest_csr_dn_organizationalunit" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Organizational Unit");?> : </td>
|
||||
<td>
|
||||
<input name="csr_dn_organizationalunit" type="text" size="40" value="<?=$pconfig['csr_dn_organizationalunit'];?>"/>
|
||||
<div class="hidden" for="help_for_digest_csr_dn_organizationalunit">
|
||||
<em><?=gettext("ex:");?></em>
|
||||
|
||||
<?=gettext("IT department");?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a id="help_for_digest_csr_dn_email" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Email Address");?> : </td>
|
||||
<td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user