login: add session_destroy() first

This commit is contained in:
Andrew Dolgov 2013-03-28 08:33:44 +04:00
parent a8376a04dd
commit f79bd4397f
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ class Handler_Public extends Handler {
}
function login() {
@session_destroy();
@session_start();
$_SESSION["prefs_cache"] = array();