mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:50:12 +00:00
clear cookie before session clear
This commit is contained in:
parent
e56c8dcc3c
commit
20f1ab05e6
2 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,6 @@
|
|||
namespace Friendica\Module\Security;
|
||||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\App\Authentication;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\L10n;
|
||||
|
@ -34,6 +33,7 @@ class Logout extends BaseModule
|
|||
}
|
||||
|
||||
Hook::callAll("logging_out");
|
||||
DI::cookie()->clear();
|
||||
Session::clear();
|
||||
|
||||
if ($visitor_home) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue