mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
'@' Is also a valid PPPoE username character.
This commit is contained in:
parent
25f36aaf6d
commit
6f02633de9
@ -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']))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user