From f79bd4397ffc38bc19e50883c173b70bfb21c292 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Mar 2013 08:33:44 +0400 Subject: [PATCH] login: add session_destroy() first --- classes/handler/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/handler/public.php b/classes/handler/public.php index ea70b2fc..51e50adc 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -492,7 +492,7 @@ class Handler_Public extends Handler { } function login() { - + @session_destroy(); @session_start(); $_SESSION["prefs_cache"] = array(); -- 2.39.5