[fix] invalid token at login time

This commit is contained in:
Benjamin Sonntag 2016-08-29 16:55:05 +02:00
parent 6745f82bf6
commit fc068bc938
2 changed files with 1 additions and 10 deletions

View File

@ -31,16 +31,6 @@
require_once("../class/config.php");
if (!$mem->checkid())
{
$error = $err->errstr();
include("index.php");
exit();
}
$mem->resetlast();
header("Location: main.php");
exit;
?>

View File

@ -164,6 +164,7 @@ class m_mem {
$db->next_record();
$this->local = $db->Record;
}
$this->resetlast();
return true;
}