summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_l2tp.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-02-08 15:43:01 +0545
committerPhil Davis <phil.davis@inf.org>2016-02-08 15:43:01 +0545
commitdbd00a12169b4a692fe79a5b1f23086f8647ba73 (patch)
tree24a398e2b819d101a027bc7cd88f1c3a820f1e98 /src/usr/local/www/vpn_l2tp.php
parent1f97f2e6f6d7ea7c5212dc0a2a84df93a4124067 (diff)
downloadpfsense-dbd00a12169b4a692fe79a5b1f23086f8647ba73.zip
pfsense-dbd00a12169b4a692fe79a5b1f23086f8647ba73.tar.gz
Enhance input error message for RADIUS secret
Make this input error message different to the one just above for the "ordinary" secret so that users can read the message and know which are the fields with the problem.
Diffstat (limited to 'src/usr/local/www/vpn_l2tp.php')
-rw-r--r--src/usr/local/www/vpn_l2tp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_l2tp.php b/src/usr/local/www/vpn_l2tp.php
index 073de46..5c13369 100644
--- a/src/usr/local/www/vpn_l2tp.php
+++ b/src/usr/local/www/vpn_l2tp.php
@@ -120,7 +120,7 @@ if ($_POST) {
}
if ($_POST['radiussecret'] != $_POST['radiussecret_confirm']) {
- $input_errors[] = gettext("Secret and confirmation must match");
+ $input_errors[] = gettext("RADIUS secret and confirmation must match");
}
if (!is_numericint($_POST['n_l2tp_units']) || $_POST['n_l2tp_units'] > 255) {
OpenPOWER on IntegriCloud