From eb24356bb1f334d3c78f7ddf7a63c8ba2de12dfc Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Mon, 21 Sep 2009 11:58:29 +0000 Subject: [PATCH] Follow-up to r56684 - stop people registering invalid usernames. --- includes/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.20.1