the cookie name is being a bitch?

This commit is contained in:
Madeline
2022-06-27 16:09:38 +10:00
parent 3ac4953a0b
commit 6e1eb28078
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ app.get("/oauth/:type", async (req, res) => {
const token = await generateToken(user.id);
res.cookie("oauth-discord", token, { signed: true });
res.cookie("token", token, { signed: true });
res.sendFile(path.join(__dirname, "../public/login.html"));
});