This commit is contained in:
fpicone
2025-12-06 18:42:49 +01:00
parent 30e1f9b36b
commit 61a177475a
11 changed files with 911 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$error = 'Inserire username e password';
} else {
if (login($username, $password)) {
logActivity('login', 'Accesso effettuato al sistema', 'auth', null);
header('Location: index.php');
exit;
} else {