[fix] invalid token at login time
This commit is contained in:
parent
6745f82bf6
commit
fc068bc938
|
@ -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;
|
||||
|
||||
?>
|
||||
|
|
|
@ -164,6 +164,7 @@ class m_mem {
|
|||
$db->next_record();
|
||||
$this->local = $db->Record;
|
||||
}
|
||||
$this->resetlast();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue