summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pptp_users_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-05-19 14:26:26 -0400
committerjim-p <jimp@pfsense.org>2011-05-19 14:26:26 -0400
commit51f8a7f8d553ff4418168e9840b0f01a49e9ed6f (patch)
treef6106a79d953167d886aa112007a8979c2ff2140 /usr/local/www/vpn_pptp_users_edit.php
parentbac9941b5ea3fb67f7203726d426afdf84576150 (diff)
downloadpfsense-51f8a7f8d553ff4418168e9840b0f01a49e9ed6f.zip
pfsense-51f8a7f8d553ff4418168e9840b0f01a49e9ed6f.tar.gz
Correct password variable name for input validation test on PPTP users. Fixes #1239
Diffstat (limited to 'usr/local/www/vpn_pptp_users_edit.php')
-rwxr-xr-xusr/local/www/vpn_pptp_users_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_pptp_users_edit.php b/usr/local/www/vpn_pptp_users_edit.php
index 1cd0075..b1b4811 100755
--- a/usr/local/www/vpn_pptp_users_edit.php
+++ b/usr/local/www/vpn_pptp_users_edit.php
@@ -84,7 +84,7 @@ if ($_POST) {
if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['username']))
$input_errors[] = gettext("The username contains invalid characters.");
- if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['passwordfld']))
+ if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['password']))
$input_errors[] = gettext("The password contains invalid characters.");
if (preg_match("/^!/", $_POST['password']))
OpenPOWER on IntegriCloud