From 077b57ecb38e7114539a54c0670a4930d434c276 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 6 Aug 2020 10:29:19 -0400 Subject: [PATCH] Actually destroy session on logout --- src/Core/Session/Native.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Core/Session/Native.php b/src/Core/Session/Native.php index 49550a27c..83ed0f6e6 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(); + } }