]> git.mxchange.org Git - friendica.git/commitdiff
Actually destroy session on logout
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 6 Aug 2020 14:29:19 +0000 (10:29 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 7 Aug 2020 02:59:09 +0000 (22:59 -0400)
src/Core/Session/Native.php

index 49550a27c0f6e71ffa77e6e60413e92a04bf91a3..83ed0f6e6ecda71face1a8c21e243afad9396b2b 100644 (file)
@@ -53,4 +53,9 @@ class Native extends AbstractSession implements ISession
                session_start();
                return $this;
        }
+
+       public function clear()
+       {
+               session_destroy();
+       }
 }