Index: trunk/phase3/includes/Login.php |
— | — | @@ -301,7 +301,7 @@ |
302 | 302 | global $wgAuth, $wgUser; |
303 | 303 | |
304 | 304 | $fields = array( |
305 | | - 'name' => $this->mName, |
| 305 | + 'name' => User::getCanonicalName( $this->mName ), |
306 | 306 | 'password' => $byEmail ? null : User::crypt( $this->mPassword ), |
307 | 307 | 'email' => $this->mEmail, |
308 | 308 | 'options' => array( |