sdy

update secretOrPrivateKey value

......@@ -16,9 +16,12 @@ export default {
password: encryptPw,
},
});
const token = jwt.sign({
const token = jwt.sign(
{
id: user.id,
});
},
process.env.JWT_SECRET
);
return { token, user };
},
},
......