Merge pull request #963 from poixen/unreg_usernames

Added "-" to allowed names
This commit is contained in:
poixen 2015-04-13 21:14:43 +02:00
commit 72222c0b39

View file

@ -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;