aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index cccebfbc56..d335c32cd5 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1211,7 +1211,7 @@ function validate_username($username, $allowed_username = false)
case 'USERNAME_ALPHA_SPACERS':
$pcre = true;
- $regex = '[-\]_+ ]+';
+ $regex = '[A-Za-z-\]_+ ]+';
break;
case 'USERNAME_LETTER_NUM':