Open qinhaitao97 opened 2 years ago
const passhash = existUser.pass; // TODO: change to async compare const equal = ctx.helper.bcompare(password, passhash); // 密码不匹配 if (!equal) { return null; }
const passhash = existUser.pass; // TODO: change to async compare const equal = ctx.helper.bcompare(password, passhash); // 密码不匹配 if (!equal) { return null; }