diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-12-18 12:44:09 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-12-18 12:44:09 +0100 |
commit | c676e73cf6c326bc067627d9d623494dd0b243cf (patch) | |
tree | e60b0baad609062c1561a297e63a2b608b573d44 /includes | |
parent | f1b41e7ad4e04275a3afd9cc1e2185ba37c4519f (diff) |
php7.3: Fix username validation regex
closes #523 (Login does not work ->Invalid range in character class)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/model/User_model.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/User_model.php b/includes/model/User_model.php index da25a9a2..304816e8 100644 --- a/includes/model/User_model.php +++ b/includes/model/User_model.php @@ -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)); } /** |