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

@@ -45,7 +45,7 @@ document.getElementById('loginForm').addEventListener('submit', function (e) {
if (username === 'admin' && password === 'password') {
alert('Succesvol ingelogd!');
window.location.href = '../qr/qr.html';
window.location.href = './qr/qr.html';
} else {
alert('Ongeldige inloggegevens.');
}