mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-23 10:52:30 +01:00
alright signed cookies aren't worth it, nice
This commit is contained in:
parent
7f121f243c
commit
de87ffc25e
@ -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"));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user