Skip to content

Commit

Permalink
(ipsec) do not show Peer identifier for mobile clients, not used
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Aug 4, 2016
1 parent 2cc1c4a commit 0dd120f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/www/vpn_ipsec_phase1.php
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,8 @@ function ipsec_ikeid_next() {
</div>
</td>
</tr>
<?php
if (empty($pconfig['mobile'])):?>
<tr class="auth_opt auth_eap_tls auth_psk">
<td ><i class="fa fa-info-circle text-muted"></i> <?=gettext("Peer identifier"); ?></td>
<td>
Expand Down Expand Up @@ -747,6 +749,8 @@ function ipsec_ikeid_next() {
} ?>
</td>
</tr>
<?php
endif;?>
<tr class="auth_opt auth_psk">
<td ><a id="help_for_psk" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Pre-Shared Key"); ?></td>
<td>
Expand Down

0 comments on commit 0dd120f

Please sign in to comment.