made usernames case-insensitive

This commit is contained in:
jvvg 2013-06-07 11:05:36 -04:00
parent 680eb81a69
commit fea750b14d

View file

@ -101,7 +101,7 @@ class AccountRequestSubmission {
foreach ($matches[2] as $key => $val) {
$user = $matches[1][$key];
$comment = trim($val);
if ($user == $this->userName && $comment == $code) {
if (strtolower($user) == strtolower($this->userName) && $comment == $code) {
$success = true;
break;
}