Allow dot in user name
0f273988
changed the regular expression for user names. The new regex
does not allow dots anymore in user names, stripping them silently.
We already have at least one user with a dot in their name who can't
login now anymore.
This commit is contained in:
parent
3ea35788be
commit
9c54b42a3d
|
@ -273,7 +273,7 @@ function User_ids()
|
|||
*/
|
||||
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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue