From dbd00a12169b4a692fe79a5b1f23086f8647ba73 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Mon, 8 Feb 2016 15:43:01 +0545 Subject: 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. --- src/usr/local/www/vpn_l2tp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/local/www/vpn_l2tp.php') 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) { -- cgit v1.1