Merge pull request #963 from poixen/unreg_usernames
Added "-" to allowed names
This commit is contained in:
commit
72222c0b39
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue