Skip to content

Commit

Permalink
Workaround #813
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Jan 18, 2023
1 parent 53eac88 commit 790edc7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public function boot(IBootContext $context): void
});

$dispatcher->addListener(BeforeUserLoggedOutEvent::class, function (BeforeUserLoggedOutEvent $Event) {
\OC::$server->getSession()['snappymail-password'] = '';
// https://github.com/nextcloud/server/issues/36083#issuecomment-1387370634
// \OC::$server->getSession()['snappymail-password'] = '';
SnappyMailHelper::loadApp();
\RainLoop\Api::Actions()->Logout(true);
});
Expand Down

0 comments on commit 790edc7

Please sign in to comment.