dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f11f1
)
Follow-up to r56684 - stop people registering invalid usernames.
author
Happy-melon
<happy-melon@users.mediawiki.org>
Mon, 21 Sep 2009 11:58:29 +0000
(11:58 +0000)
committer
Happy-melon
<happy-melon@users.mediawiki.org>
Mon, 21 Sep 2009 11:58:29 +0000
(11:58 +0000)
includes/Login.php
patch
|
blob
|
history
diff --git
a/includes/Login.php
b/includes/Login.php
index
c30858c
..
6d199d5
100644
(file)
--- 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(