Merge pull request #384 from der-michik/fix-dot-in-username

Allow dot in user name
This commit is contained in:
msquare 2017-12-17 11:40:24 +01:00 committed by GitHub
commit 0e007ea78f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ function User_ids()
*/ */
function User_validate_Nick($nick) function User_validate_Nick($nick)
{ {
return preg_replace('/([^\p{L}\p{N}-_ ]+)/ui', '', trim($nick)); return preg_replace('/([^\p{L}\p{N}-_. ]+)/ui', '', trim($nick));
} }
/** /**