dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Follow-up to r56684 - stop people registering invalid usernames.
[lhc/web/wiklou.git]
/
includes
/
Login.php
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(