Skip to content

Commit

Permalink
fix: clear the http only cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed May 1, 2024
1 parent 787bc40 commit c24d2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async function authentication(fastify) {
fastify.post('/signout', async (_, reply) => {
reply
.clearCookie(COOKIE_KEY_PUBLIC, { path: '/' })
.clearCookie(COOKIE_KEY, '', SACRED_COOKIE_SETTINGS);
.clearCookie(COOKIE_KEY, SACRED_COOKIE_SETTINGS);

return {
signout: 'ok',
Expand Down

0 comments on commit c24d2c7

Please sign in to comment.