summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-28 08:33:44 +0400
committerAndrew Dolgov <[email protected]>2013-03-28 08:37:17 +0400
commitf79bd4397ffc38bc19e50883c173b70bfb21c292 (patch)
tree6100cceeaa4fb9aa7c06e21377ab375de209d7da /classes
parenta8376a04dd31ed5c5744d79d1aaabbbd079c6078 (diff)
login: add session_destroy() first
Diffstat (limited to 'classes')
-rw-r--r--classes/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index ea70b2fc3..51e50adc8 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();