diff --git a/src/routes/auth/logout.js b/src/routes/auth/logout.js index 63996165..65a19c6b 100644 --- a/src/routes/auth/logout.js +++ b/src/routes/auth/logout.js @@ -20,7 +20,15 @@ module.exports.get = fastify => ({ path: '/', sameSite: 'Strict', secure: false, - }).send('The token has been revoked.'); + }); + res.header('Content-Type', 'text/html'); + return res.send(` + + +
+ + +`); }, onRequest: [fastify.authenticate], });