diff options
author | Chris Buechler <cmb@cmb-macbook-pro.local> | 2009-05-08 17:22:24 -0400 |
---|---|---|
committer | Chris Buechler <cmb@cmb-macbook-pro.local> | 2009-05-08 17:22:24 -0400 |
commit | cc4a5388feb3eb194685cd542bcb28a95b147cd2 (patch) | |
tree | 613a5343988554349e43d99c7c7eb70d3f8832fd | |
parent | 9b590c5e3fb4924d8b28163d0d8c1a0b151b7390 (diff) | |
download | pfsense-cc4a5388feb3eb194685cd542bcb28a95b147cd2.zip pfsense-cc4a5388feb3eb194685cd542bcb28a95b147cd2.tar.gz |
colons are valid in usernames, such as for no-ip subaccounts.
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index d1f318f..47fde5b 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -180,7 +180,7 @@ function is_dyndns_username($uname) { if (!is_string($uname)) return false; - if (preg_match("/[^a-z0-9\-.@_]/i", $uname)) + if (preg_match("/[^a-z0-9\-.@_:]/i", $uname)) return false; else return true; |