「🔨」 fix(auth): now logout on removal

This commit is contained in:
KeyZox committed 2025-10-23 16:01:37 +02:00
1 parent e15cb8e776
commit 583cf55cf8
1 file changed
+1
+1
View File
@@ -24,6 +24,7 @@ export async function remove(request, reply, fastify) {
return reply return reply
.code(200) .code(200)
.clearCookie("token")
.send({ .send({
msg: "User successfully deleted" msg: "User successfully deleted"
}) })