mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
again, a lot of bug fixes
git-svn-id: file:///svn/phpbb/trunk@7909 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1395,7 +1395,7 @@ function validate_username($username, $allowed_username = false)
|
||||
|
||||
foreach ($bad_usernames as $bad_username)
|
||||
{
|
||||
if (preg_match('#^' . $bad_username . '#', $clean_username))
|
||||
if (preg_match('#^' . $bad_username . '$#', $clean_username))
|
||||
{
|
||||
return 'USERNAME_DISALLOWED';
|
||||
}
|
||||
|
Reference in New Issue
Block a user