clear cookie before session clear

This commit is contained in:
nupplaPhil 2020-01-07 00:10:15 +01:00
parent e56c8dcc3c
commit 20f1ab05e6
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
2 changed files with 3 additions and 1 deletions

View file

@ -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) {