sdy

update secretOrPrivateKey value

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