后台需要开启注册邮件验证码
打开admin/account.php,搜索send_email_code,找到以下:
if ($action == 'send_email_code') {
$mail = Input::postStrVar('mail');
修改为:
[lv]
if ($action == 'send_email_code') {
$mail = Input::postStrVar('mail');
if(stristr($mail, 'qq.com') == false) {
Output::error('仅支持QQ邮箱注册');
}
[/lv]


