|
@@ -35,7 +35,7 @@ class LoginService extends CrudService {
|
|
|
|
|
|
const pas = await this.createJwtPwd(passwd);
|
|
|
|
|
|
- if (pas !== _user.passwd.secret && _user.isdel !== '0') {
|
|
|
+ if (pas !== _user.passwd.secret && _user.isdel !== '1') {
|
|
|
throw new BusinessError(ErrorCode.BAD_PASSWORD);
|
|
|
}
|
|
|
if (_user.role === '4' || _user.role === '5') {
|