php7.3: Fix username validation regex

closes #523 (Login does not work ->Invalid range in character class)
This commit is contained in:
Igor Scheller 2018-12-18 12:44:09 +01:00
parent f1b41e7ad4
commit c676e73cf6
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ function Users_by_angeltype($angeltype)
*/ */
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));
} }
/** /**