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

@@ -5,7 +5,7 @@ if (isset($_SESSION['user']['user_uuid'])) {
exit;
}
include_once $_SERVER['DOCUMENT_ROOT'] . '/login/php/authFunctions.php';
require_once "{$_SERVER['DOCUMENT_ROOT']}/login/php/authFunctions.php";
$loginAttempts = checkLoginAttempts();
?>
@@ -90,6 +90,7 @@ $loginAttempts = checkLoginAttempts();
<form method="post" action="/login/php/forgotPasswordRequest.php">
<div class="mb-3 text-reset">
<label for="email"></label>
<input type="email" class="form-control" name="user_email" id="email" placeholder="somebody@somewhere.what" required>
</div>
@@ -104,7 +105,7 @@ $loginAttempts = checkLoginAttempts();
<div class="card col-md-5 text-white bg-transparent py-0 border-0">
<div class="card-body text-center pt-5">
<div>
<img class="pt-3 w-100 portal-image" alt="portal-image" src="/src/images/logo-login-dark.webp" width="500" height="265" style="height: auto;">
<img class="pt-3 w-100 portal-image" alt="portal-image" src="" width="500" height="265" style="height: auto;">
</div>
</div>
</div>