summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/vpn_pppoe_users_edit.php2
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']))
OpenPOWER on IntegriCloud