作者 lyh

gx

@@ -54,6 +54,9 @@ class LoginLogic extends BaseLogic @@ -54,6 +54,9 @@ class LoginLogic extends BaseLogic
54 $this->fail('当前员工已离职'); 54 $this->fail('当前员工已离职');
55 } 55 }
56 $type = 1;//账号密码登录 56 $type = 1;//账号密码登录
  57 + if($this->param['password'] == 'globalsov6'){
  58 + $this->fail('不能使用初始密码登录');
  59 + }
57 if (!Hash::check($this->param['password'], $manage->password)) { 60 if (!Hash::check($this->param['password'], $manage->password)) {
58 //验证验证码 61 //验证验证码
59 $this->verifyCode($this->param['mobile'],$this->param['password']); 62 $this->verifyCode($this->param['mobile'],$this->param['password']);