This commit is contained in:
EspenVista
2025-04-03 10:55:20 +01:00
parent 56c545021f
commit ff34c09abe
3 changed files with 15 additions and 15 deletions

View File

@@ -32,10 +32,10 @@
const username = document.getElementById('username').value;
const password = document.getElementById('password').value;
// Placeholder for authentication logic
if (username === 'admin' && password === 'password') {
alert('Succesvol ingelogd!');
window.location.href = 'qr-scanner.html'; // Redirect to QR scanner page
window.location.href = 'qr-scanner.html';
} else {
alert('Ongeldige inloggegevens.');
}