feat: add navigation bar to employee login page and update redirect path in process_login.php

This commit is contained in:
vista-man committed 2025-04-03 14:06:01 +02:00
1 parent 703aa564c6
commit a42c4493f1
3 files changed
+43 -1

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ if ($password_hash && password_verify($password, $password_hash)) {
session_start();
$_SESSION['user_id'] = $user_id;
echo "Login successful!";
header("Location: qr-scanner.html"); // Redirect to QR scanner page
header("Location: qr/qr.html"); // Redirect to QR scanner page
} else {
echo "Invalid login credentials.";
}