aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-07-14 12:31:57 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-07-14 12:31:57 +0000
commite16e766409378978d4f3401613a78e0428f2a46a (patch)
tree516d596bfd07dd41978833543b25d2b556a1bff8 /phpBB/includes/functions_user.php
parent316f087d47e0741fa6864cdb3868f6ca8f5c03bd (diff)
downloadforums-e16e766409378978d4f3401613a78e0428f2a46a.tar
forums-e16e766409378978d4f3401613a78e0428f2a46a.tar.gz
forums-e16e766409378978d4f3401613a78e0428f2a46a.tar.bz2
forums-e16e766409378978d4f3401613a78e0428f2a46a.tar.xz
forums-e16e766409378978d4f3401613a78e0428f2a46a.zip
#13391
git-svn-id: file:///svn/phpbb/trunk@7883 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 4feb17cac5..46ea90fa3a 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1303,12 +1303,12 @@ function validate_username($username, $allowed_username = false)
case 'USERNAME_ALPHA_ONLY':
$pcre = true;
- $regex = '[A-Za-z]+';
+ $regex = '[A-Za-z0-9]+';
break;
case 'USERNAME_ALPHA_SPACERS':
$pcre = true;
- $regex = '[A-Za-z-\]_+ ]+';
+ $regex = '[A-Za-z0-9-[\]_+ ]+';
break;
case 'USERNAME_LETTER_NUM':