mirror of
https://github.com/Alvin-Zilverstand/Spik-en-span.git
synced 2026-03-06 21:36:31 +01:00
feat: add navigation bar to employee login page and update redirect path in process_login.php
This commit is contained in:
@@ -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.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user