|
@@ -64,7 +64,7 @@ class Login extends Controller
|
|
|
$this->error('图形验证码验证失败,请重新输入!');
|
|
|
}
|
|
|
/*! 用户信息验证 */
|
|
|
- $map = ['username' => $data['username']];
|
|
|
+ $map = ['username' => $data['username'],'is_deleted'=>'0'];
|
|
|
$user = $this->app->db->name('School2')->where($map)->order('id desc')->find();
|
|
|
if (empty($user)) {
|
|
|
$this->app->session->set("login_input_session_error", true);
|