Project

General

Profile

« Previous | Next » 

Revision 51f8a7f8

Added by Jim Pingle about 14 years ago

Correct password variable name for input validation test on PPTP users. Fixes #1239

View differences:

usr/local/www/vpn_pptp_users_edit.php
84 84
	if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['username']))
85 85
		$input_errors[] = gettext("The username contains invalid characters.");
86 86

  
87
	if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['passwordfld']))
87
	if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['password']))
88 88
		$input_errors[] = gettext("The password contains invalid characters.");
89 89

  
90 90
	if (preg_match("/^!/", $_POST['password']))

Also available in: Unified diff