mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
colons are valid in usernames, such as for no-ip subaccounts.
This commit is contained in:
parent
9b590c5e3f
commit
cc4a5388fe
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user