Logout should not include path params.

This commit is contained in:
Paul
2021-09-11 13:18:30 +01:00
parent a743aff8fa
commit 78454aa18d
+1 -6
View File
@@ -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
)
});