From 78454aa18de91c0509333bc49cae4cef205aad16 Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 11 Sep 2021 13:18:30 +0100 Subject: [PATCH] Logout should not include path params. --- src/routes/auth.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/routes/auth.ts b/src/routes/auth.ts index 486f208..3b08001 100644 --- a/src/routes/auth.ts +++ b/src/routes/auth.ts @@ -236,12 +236,7 @@ resource('/session/logout', { post: routeAuthenticated( "Logout", "Close current session.", - { - parameters: [ - await parameter("session", "Session ID", ref("Id")) - ], - ...await noContent("Logged out.") - }, + await noContent("Logged out."), true ) });