Fix redirect URL in process_login.php, update login form submission handling, and enhance QR scanner UI

This commit is contained in:
vista-man
2025-04-10 17:31:50 +02:00
parent 950ba3aafb
commit 4769f68e9b
4 changed files with 45 additions and 55 deletions

View File

@@ -35,7 +35,7 @@ try {
// Start session and store user ID
session_start();
$_SESSION['user_id'] = $user_id;
header("Location: ../qr/qr.html"); // Redirect to the QR scanner page
header("Location: "); // Redirect to the QR scanner page
exit();
} else {
// Redirect back to login page with an error message