On boards that allow multiple accounts per email, it's super annoying to get a password reset email for every single account when you only need it for one.
Is there a way to request password resets by account rather than by email? (This also seems like it might be more secure?)
In case anyone else runs RP boards where users don't want pass reset emails for all 20 of their accounts at once.
In your template, Member Templates > member_lostpw
Find:
<td class="trow1" width="60%"><input type="text" class="textbox" name="email" value="{$email}" /></td>
Replace:
<td class="trow1" width="60%"><input type="text" class="textbox" name="username" /></td>
In member.php:
Find, ~line 1516 or so:
$query = $db->simple_select("users", "*", "email='".$db->escape_string($mybb->get_input('email'))."'");
Replace with:
$query = $db->simple_select("users", "*", "username='".$db->escape_string($mybb->get_input('username'))."'");
That's it.
You'll also want to update related language about password resetting in /inc/languages/[your language]/member.lang.php