diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-06-27 16:13:40 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-06-27 16:13:40 +1000 |
commit | ce41dd741d27e2d211d909ab1d2c6c5420b3e7d6 (patch) | |
tree | 2838df8c965f48300475ba0fce7e7b22ba65fa1f | |
parent | clearing cookies is weird? (diff) | |
download | server-ce41dd741d27e2d211d909ab1d2c6c5420b3e7d6.tar.xz |
alright signed cookies aren't worth it, nice
-rw-r--r-- | slowcord/src/index.ts | 2 |
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")); }); |