mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Improved external logout handling
This commit is contained in:
parent
f0a3ea1348
commit
0a21485003
3 changed files with 4 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ class Application extends App implements IBootstrap
|
|||
$userSession->listen('\OC\User', 'logout', function($user) {
|
||||
\OC::$server->getSession()['snappymail-password'] = '';
|
||||
SnappyMailHelper::loadApp();
|
||||
\RainLoop\Api::LogoutCurrentLogginedUser();
|
||||
\RainLoop\Api::Actions()->Logout(true);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue