打开 e/member/class/member_loginfun.php 文件
查找:
$username=RepPostVar($username);
修改为:
if(chemail($username))
{
$username=RepPostVar($username);
$r=$empire->fetch1("select username from {$dbtbpre}enewsmember where email='$username'");
$username=$r['username'];
}
else
{
$username=RepPostVar($username);
}