summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-06-27 16:13:40 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-06-27 16:13:40 +1000
commitce41dd741d27e2d211d909ab1d2c6c5420b3e7d6 (patch)
tree2838df8c965f48300475ba0fce7e7b22ba65fa1f
parentclearing cookies is weird? (diff)
downloadserver-ce41dd741d27e2d211d909ab1d2c6c5420b3e7d6.tar.xz
alright signed cookies aren't worth it, nice
-rw-r--r--slowcord/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/slowcord/src/index.ts b/slowcord/src/index.ts
index e32651fb..e4ad3917 100644
--- a/slowcord/src/index.ts
+++ b/slowcord/src/index.ts
@@ -104,7 +104,7 @@ app.get("/oauth/:type", async (req, res) => {
 
 	const token = await generateToken(user.id);
 
-	res.cookie("token", token, { signed: true });
+	res.cookie("token", token);
 
 	res.sendFile(path.join(__dirname, "../public/login.html"));
 });