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

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

No files matched your search

+1 -1
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.');
}