Skip to content

Commit

Permalink
fix: fixed logout (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliano176 authored Nov 21, 2022
1 parent 9b1a235 commit e75dca6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/network/logout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import { goToLogin } from './go-to-login';

export const logout = (): Promise<void> =>
getSoapFetch(SHELL_APP_ID)('EndSession', {
_jsns: 'urn:zimbraAccount'
_jsns: 'urn:zimbraAccount',
logoff: true
}).then(() => {
fetch('/?loginOp=logout')
.then((res) => res)
Expand Down

0 comments on commit e75dca6

Please sign in to comment.