Added "-" to allowed names
This commit is contained in:
parent
70ef95931e
commit
53352c5f71
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_Uppercase: //[A-Z]
|
||||||
case QChar::Letter_Lowercase: //[a-z]
|
case QChar::Letter_Lowercase: //[a-z]
|
||||||
case QChar::Number_DecimalDigit: //[0-9]
|
case QChar::Number_DecimalDigit: //[0-9]
|
||||||
case QChar::Punctuation_Connector: //[-_]
|
case QChar::Punctuation_Connector: //[_]
|
||||||
|
case QChar::Punctuation_Dash: //[-]
|
||||||
result += c;
|
result += c;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue