mirror of
https://github.com/Alvin-Zilverstand/Spik-en-span.git
synced 2026-03-06 11:17:09 +01:00
Fix redirect URL in process_login.php, update login form submission handling, and enhance QR scanner UI
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user