From: James D. Forrester Date: Mon, 9 Jul 2018 22:34:01 +0000 (-0700) Subject: Special:PasswordReset: Make the user field a user lookahead field, not just text X-Git-Tag: 1.34.0-rc.0~4827^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=0120f5257653ee081f40d5fb01abcc20bc3abda9;p=lhc%2Fweb%2Fwiklou.git Special:PasswordReset: Make the user field a user lookahead field, not just text Change-Id: If7795ca038d230e4a9bc665bae0c90d534f0f3ad --- diff --git a/includes/specials/SpecialPasswordReset.php b/includes/specials/SpecialPasswordReset.php index 7342bb0cc7..7ea9ba019c 100644 --- a/includes/specials/SpecialPasswordReset.php +++ b/includes/specials/SpecialPasswordReset.php @@ -79,7 +79,7 @@ class SpecialPasswordReset extends FormSpecialPage { $a = []; if ( isset( $resetRoutes['username'] ) && $resetRoutes['username'] ) { $a['Username'] = [ - 'type' => 'text', + 'type' => 'user', 'label-message' => 'passwordreset-username', ];