Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php |
— | — | @@ -188,7 +188,7 @@ |
189 | 189 | |
190 | 190 | // Suppress username validation of old username |
191 | 191 | $olduser = User::newFromName( $oldusername->getText(), false ); |
192 | | - $newuser = User::newFromName( $newusername->getText() ); |
| 192 | + $newuser = User::newFromName( $newusername->getText(), 'creatable' ); |
193 | 193 | |
194 | 194 | // It won't be an object if for instance "|" is supplied as a value |
195 | 195 | if( !is_object( $olduser ) ) { |