diff options
author | Ermal <eri@pfsense.org> | 2014-05-09 19:41:17 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-05-09 19:41:17 +0000 |
commit | f1bede03435250bb789a5362273af5d43c3f7430 (patch) | |
tree | 3646398c7d48a915aff046424a50cc1ef7325ca8 /usr/local/www/vpn_ipsec_keys_edit.php | |
parent | e8177bbbd0d6b5d47b897a245902261fa838c1f0 (diff) | |
download | pfsense-f1bede03435250bb789a5362273af5d43c3f7430.zip pfsense-f1bede03435250bb789a5362273af5d43c3f7430.tar.gz |
Allow a key to specified for all users as for exmpale when connecting from Apple iOS
Diffstat (limited to 'usr/local/www/vpn_ipsec_keys_edit.php')
-rw-r--r-- | usr/local/www/vpn_ipsec_keys_edit.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/local/www/vpn_ipsec_keys_edit.php b/usr/local/www/vpn_ipsec_keys_edit.php index 397e791..b1c24aa 100644 --- a/usr/local/www/vpn_ipsec_keys_edit.php +++ b/usr/local/www/vpn_ipsec_keys_edit.php @@ -76,6 +76,7 @@ if ($_POST) { if (array_key_exists($_POST['ident'], $userids)) $input_errors[] = gettext("A user with this name already exists. Add the key to the user instead."); + unset($userids); if (!$input_errors && !(isset($id) && $a_secret[$id])) { /* make sure there are no dupes */ @@ -147,6 +148,18 @@ include("head.inc"); <?php endif; ?> </td> </tr> + <tr> + <td colspan="4"> + <p> + <span class="vexpl"> + <span class="red"> + <strong><?=gettext("Note"); ?>:<br /></strong> + </span> + <?=gettext("PSK for any user can be set by using an identifier of any/ANY");?> + </span> + </p> + </td> + </tr> </table> </form> <?php include("fend.inc"); ?> |