login: add session_destroy() first
This commit is contained in:
parent
a8376a04dd
commit
f79bd4397f
|
@ -492,7 +492,7 @@ class Handler_Public extends Handler {
|
|||
}
|
||||
|
||||
function login() {
|
||||
|
||||
@session_destroy();
|
||||
@session_start();
|
||||
|
||||
$_SESSION["prefs_cache"] = array();
|
||||
|
|
Loading…
Reference in New Issue