#3256: Allow - and . in online mode as some accounts still have these usernames
This commit is contained in:
parent
eae9d45c8a
commit
f4f94d3b56
@ -17,7 +17,7 @@ public final class AllowedCharacters
|
||||
{
|
||||
if ( onlineMode )
|
||||
{
|
||||
return ( c >= 'a' && c <= 'z' ) || ( c >= '0' && c <= '9' ) || ( c >= 'A' && c <= 'Z' ) || c == '_';
|
||||
return ( c >= 'a' && c <= 'z' ) || ( c >= '0' && c <= '9' ) || ( c >= 'A' && c <= 'Z' ) || c == '_' || c == '.' || c == '-';
|
||||
} else
|
||||
{
|
||||
// Don't allow spaces, Yaml config doesn't support them
|
||||
|
Loading…
Reference in New Issue
Block a user