From 583cf55cf81369812ed11712dab8532b8e7e53cd Mon Sep 17 00:00:00 2001 From: adjoly Date: Thu, 23 Oct 2025 16:01:37 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix(auth):=20n?= =?UTF-8?q?ow=20logout=20on=20removal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/auth/remove.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/auth/remove.js b/src/api/auth/remove.js index 3f653c6..ea1cbce 100644 --- a/src/api/auth/remove.js +++ b/src/api/auth/remove.js @@ -24,6 +24,7 @@ export async function remove(request, reply, fastify) { return reply .code(200) + .clearCookie("token") .send({ msg: "User successfully deleted" })