mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-03 01:15:41 -07:00
Added "-" to allowed names
This commit is contained in:
@@ -105,7 +105,8 @@ bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
|
||||
case QChar::Letter_Uppercase: //[A-Z]
|
||||
case QChar::Letter_Lowercase: //[a-z]
|
||||
case QChar::Number_DecimalDigit: //[0-9]
|
||||
case QChar::Punctuation_Connector: //[-_]
|
||||
case QChar::Punctuation_Connector: //[_]
|
||||
case QChar::Punctuation_Dash: //[-]
|
||||
result += c;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user