php7.3: Fix username validation regex
closes #523 (Login does not work ->Invalid range in character class)
This commit is contained in:
parent
f1b41e7ad4
commit
c676e73cf6
|
@ -116,7 +116,7 @@ function Users_by_angeltype($angeltype)
|
|||
*/
|
||||
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