'@' Is also a valid PPPoE username character.

This commit is contained in:
jim-p 2010-03-24 10:21:14 -04:00
parent 25f36aaf6d
commit 6f02633de9

View File

@ -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']))