1.打开 mobcent\app\components\web\UserUtils.php
搜索
- $result = userlogin($_GET['username'], $_GET['password'], $_GET['questionid'], $_GET['answer'], 'auto', $_G['clientip']);
复制代码
下面添加
- //冻结无法登陆
- if ($result['member']['freeze'] == '1') {
- //抱歉,指定用户不存在或被冻结
- return self::errorInfo(lang('message', 'username_nonexistence'));
- }
复制代码
小云本身对dz默认冻结用户居然没过滤~最近某个朋友的论坛被灌水机骚扰....只能自救了~
|