From: Happy-melon Date: Mon, 21 Sep 2009 11:58:29 +0000 (+0000) Subject: Follow-up to r56684 - stop people registering invalid usernames. X-Git-Tag: 1.31.0-rc.0~39599 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=eb24356bb1f334d3c78f7ddf7a63c8ba2de12dfc;p=lhc%2Fweb%2Fwiklou.git Follow-up to r56684 - stop people registering invalid usernames. --- diff --git a/includes/Login.php b/includes/Login.php index c30858c0cf..6d199d5a89 100644 --- a/includes/Login.php +++ b/includes/Login.php @@ -301,7 +301,7 @@ class Login { global $wgAuth, $wgUser; $fields = array( - 'name' => $this->mName, + 'name' => User::getCanonicalName( $this->mName ), 'password' => $byEmail ? null : User::crypt( $this->mPassword ), 'email' => $this->mEmail, 'options' => array(