mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🔨」 fix(auth): now logout on removal
This commit is contained in:
@ -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"
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user