X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialPasswordReset.php;h=3524d79e65cf5dc9de94972f8b39524668d4da76;hb=baa3105f63b0de50138b8011ad9faeb9415a15b8;hp=7342bb0cc7a22b20012160cd41d64c0515d991d4;hpb=e602b197ab5ea867799b8e790a9f7b9f877da952;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialPasswordReset.php b/includes/specials/SpecialPasswordReset.php index 7342bb0cc7..3524d79e65 100644 --- 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', ];