login: add session_destroy() first

This commit is contained in:
Andrew Dolgov 2013-03-28 08:33:44 +04:00
parent a8376a04dd
commit f79bd4397f

View file

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