A lot of code cleanup and code sanitation done.

This commit is contained in:
2026-06-20 00:31:32 +02:00
parent be392b8149
commit d781078c0d
100 changed files with 733 additions and 2097 deletions

View File

@@ -1,6 +1,6 @@
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/bin/php/db_connect.php';
require_once "{$_SERVER['DOCUMENT_ROOT']}/bin/php/db_connect.php";
function checkLoginAttempts()
{
$stmt = $GLOBALS['conn']->prepare("SELECT address
@@ -91,7 +91,7 @@ function loginUser($user_uuid)
setSessionParams();
}
# link the verification code input and check if its an valid code.
# link the verification code input and check if it's a valid code.
function linkVerificationPosts()
{
$codeParts = [];