diff options
author | jim-p <jim@pingle.org> | 2010-03-24 10:21:14 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2010-03-24 10:21:54 -0400 |
commit | 6f02633de9548df02feb9399fe36cf0c78f6205a (patch) | |
tree | b175f9861722a234967c689a8260b0a1d63c4aa6 | |
parent | 25f36aaf6d1a2d1e71c19f6a56f70a8ec9e353c0 (diff) | |
download | pfsense-6f02633de9548df02feb9399fe36cf0c78f6205a.zip pfsense-6f02633de9548df02feb9399fe36cf0c78f6205a.tar.gz |
'@' Is also a valid PPPoE username character.
-rwxr-xr-x | usr/local/www/vpn_pppoe_users_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_pppoe_users_edit.php b/usr/local/www/vpn_pppoe_users_edit.php index 4450c56..450a593 100755 --- a/usr/local/www/vpn_pppoe_users_edit.php +++ b/usr/local/www/vpn_pppoe_users_edit.php @@ -81,7 +81,7 @@ if ($_POST) { do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); - if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['username'])) + if (preg_match("/[^a-zA-Z0-9\.\-\@_]/", $_POST['username'])) $input_errors[] = "The username contains invalid characters."; if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['password'])) |