Skip to content

Commit

Permalink
Merge branch 'main' into N21-2216-outdated-users-team-invite
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinOehlerkingCap authored Oct 14, 2024
2 parents ca04d5b + b98ed09 commit 46160c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ const sessionDestroyer = (req, res, rej, next) => {
};

router.get('/logout/', (req, res, next) => {
api(req)
.del('/authentication') // async, ignore result
api(req, { version: 'v3' })
.post('/logout') // async, ignore result
.catch((err) => {
logger.error('error during logout.', formatError(err));
});
Expand Down

0 comments on commit 46160c3

Please sign in to comment.