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

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

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.";
}