mirror of
https://github.com/scratchfoundation/swiki-confirmaccount.git
synced 2024-12-04 12:51:01 -05:00
made usernames case-insensitive
This commit is contained in:
parent
680eb81a69
commit
fea750b14d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue