This commit is contained in:
Raphael 2025-10-03 13:31:35 +02:00
parent 357f1cc128
commit c1b0833229
No known key found for this signature in database

View file

@ -3,7 +3,6 @@ import { FastifyPluginAsync } from 'fastify';
const route: FastifyPluginAsync = async (fastify, _opts): Promise<void> => {
void _opts;
fastify.post(
'/api/auth/logout',
async function(_req, res) {
void _req;
return res.clearCookie('token').send('{}');