aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/auth.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-30 08:47:25 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-05-04 16:21:39 +0200
commitdadc90bca257f2d785713a37949c3a1bf6a5243d (patch)
tree6d7a79df1c89efac2790cd46e00fea7883384314 /server/lib/auth.ts
parent5a7eecdd56120bc29b47ab071c8b8cd16efa3843 (diff)
downloadPeerTube-dadc90bca257f2d785713a37949c3a1bf6a5243d.tar.gz
PeerTube-dadc90bca257f2d785713a37949c3a1bf6a5243d.tar.zst
PeerTube-dadc90bca257f2d785713a37949c3a1bf6a5243d.zip
Client calls revoke-token endpoint on logout
Diffstat (limited to 'server/lib/auth.ts')
-rw-r--r--server/lib/auth.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/auth.ts b/server/lib/auth.ts
index 2ef77bc9c..1fa896f6e 100644
--- a/server/lib/auth.ts
+++ b/server/lib/auth.ts
@@ -68,7 +68,7 @@ async function handleTokenRevocation (req: express.Request, res: express.Respons
68 // } 68 // }
69 // }) 69 // })
70 70
71 return res.sendStatus(200) 71 return res.json()
72} 72}
73 73
74async function onExternalUserAuthenticated (options: { 74async function onExternalUserAuthenticated (options: {