Skip to content

Commit

Permalink
Added Authentication session detection for user-agent and client addr…
Browse files Browse the repository at this point in the history
…ess.
  • Loading branch information
nthnn committed Nov 13, 2024
1 parent aa163f5 commit 0d9d219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static function create($name, $description) {
}
freeDBQuery($create);

$create = mysqli_query($db_apps_conn, "CREATE TABLE ".$app_key."_account_session (id INT PRIMARY KEY AUTO_INCREMENT, username VARCHAR(255), uuid VARCHAR(255))");
$create = mysqli_query($db_apps_conn, "CREATE TABLE ".$app_key."_account_session (id INT PRIMARY KEY AUTO_INCREMENT, username VARCHAR(255), uuid VARCHAR(255), useragent VARCHAR(1024), address VARCHAR(64))");
if(!$create) {
freeDBQuery($create);
return false;
Expand Down

0 comments on commit 0d9d219

Please sign in to comment.