From: Hypolite Petovan Date: Thu, 6 Aug 2020 14:29:19 +0000 (-0400) Subject: Actually destroy session on logout X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=077b57ecb38e7114539a54c0670a4930d434c276;p=friendica.git Actually destroy session on logout --- diff --git a/src/Core/Session/Native.php b/src/Core/Session/Native.php index 49550a27c0..83ed0f6e6e 100644 --- a/src/Core/Session/Native.php +++ b/src/Core/Session/Native.php @@ -53,4 +53,9 @@ class Native extends AbstractSession implements ISession session_start(); return $this; } + + public function clear() + { + session_destroy(); + } }