|
|
@ -492,9 +492,6 @@ class Handler_Public extends Handler {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function login() {
|
|
|
|
function login() {
|
|
|
|
@session_destroy();
|
|
|
|
|
|
|
|
@session_start();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$_SESSION["prefs_cache"] = array();
|
|
|
|
$_SESSION["prefs_cache"] = array();
|
|
|
|
|
|
|
|
|
|
|
|
if (!SINGLE_USER_MODE) {
|
|
|
|
if (!SINGLE_USER_MODE) {
|
|
|
@ -503,6 +500,8 @@ class Handler_Public extends Handler {
|
|
|
|
$password = $_POST["password"];
|
|
|
|
$password = $_POST["password"];
|
|
|
|
$remember_me = $_POST["remember_me"];
|
|
|
|
$remember_me = $_POST["remember_me"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@session_start();
|
|
|
|
|
|
|
|
|
|
|
|
if (authenticate_user($this->link, $login, $password)) {
|
|
|
|
if (authenticate_user($this->link, $login, $password)) {
|
|
|
|
$_POST["password"] = "";
|
|
|
|
$_POST["password"] = "";
|
|
|
|
|
|
|
|
|
|
|
|