From b3413ccee939217b39203bdaa1424b45d6bbabd6 Mon Sep 17 00:00:00 2001 From: Gabriel Pedro Date: Wed, 11 May 2016 18:18:06 -0400 Subject: [PATCH] resolves #237 --- register.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/register.php b/register.php index f7aca66..a567c6c 100644 --- a/register.php +++ b/register.php @@ -37,9 +37,6 @@ if (empty($_POST) === false) { if ($isNoob) { $errors[] = 'This account name is blocked for registration.'; } - if (strtolower($_POST['username']) === true) { - $errors[] = 'Sorry, that username already exist.'; - } if (preg_match("/^[a-zA-Z0-9]+$/", $_POST['username']) == false) { $errors[] = 'Your account name can only contain characters a-z, A-Z and 0-9.'; } @@ -206,4 +203,4 @@ if (isset($_GET['success']) && empty($_GET['success'])) { \ No newline at end of file +?>