Commit 72222c0b authored by poixen's avatar poixen
Browse files

Merge pull request #963 from poixen/unreg_usernames

Added "-" to allowed names
parents cd49b2f7 53352c5f
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment