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
Merge "watcheditem: Fix bad $options param in NoWriteWatchedItemStore::countWatchersM...
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialPasswordReset.php
diff --git
a/includes/specials/SpecialPasswordReset.php
b/includes/specials/SpecialPasswordReset.php
index
7342bb0
..
3524d79
100644
(file)
--- a/
includes/specials/SpecialPasswordReset.php
+++ b/
includes/specials/SpecialPasswordReset.php
@@
-80,6
+80,7
@@
class SpecialPasswordReset extends FormSpecialPage {
if ( isset( $resetRoutes['username'] ) && $resetRoutes['username'] ) {
$a['Username'] = [
'type' => 'text',
+ 'default' => $this->getRequest()->getSession()->suggestLoginUsername(),
'label-message' => 'passwordreset-username',
];