fixing a bug in install db
This commit is contained in:
@@ -66,7 +66,7 @@
|
|||||||
password VARCHAR(255),
|
password VARCHAR(255),
|
||||||
2fa VARCHAR(255),
|
2fa VARCHAR(255),
|
||||||
telegram_id VARCHAR(255),
|
telegram_id VARCHAR(255),
|
||||||
user_hex_id VARCHAR(255):
|
user_hex_id VARCHAR(255),
|
||||||
credential_id VARBINARY(64),
|
credential_id VARBINARY(64),
|
||||||
public_key TEXT,
|
public_key TEXT,
|
||||||
counter INT
|
counter INT
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ $filter_query = "&loglevel=$loglevel&logtext=$logtext&machine_id=$machine_id&tim
|
|||||||
//now display the normal page
|
//now display the normal page
|
||||||
// Define page size and current page
|
// Define page size and current page
|
||||||
$page_size = 50;
|
$page_size = 50;
|
||||||
$current_page = htmlspecialchars(isset($_GET['page']) ? intval($_GET['page']) : 1;
|
$current_page = htmlspecialchars(isset($_GET['page']) ? intval($_GET['page']) : 1);
|
||||||
$offset = ($current_page - 1) * $page_size;
|
$offset = ($current_page - 1) * $page_size;
|
||||||
|
|
||||||
// Get total number of log entries based on filters
|
// Get total number of log entries based on filters
|
||||||
|
|||||||
Reference in New Issue
Block a user