mirror of
https://github.com/Alvin-Zilverstand/Spik-en-span.git
synced 2026-11-23 14:53:12 +01:00
Fix redirect URL in process_login.php, update login form submission handling, and enhance QR scanner UI
This commit is contained in:
1 parent
950ba3aafb
commit
4769f68e9b
4 files changed
+45
-55
No files matched your search
+1
-1
@@ -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