1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00
git-svn-id: file:///svn/phpbb/trunk@7883 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2007-07-14 12:31:57 +00:00
parent 316f087d47
commit e16e766409
2 changed files with 3 additions and 2 deletions

View File

@@ -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':