Update navigation links to point to employee-login.php and enhance login error handling

This commit is contained in:
vista-man
2025-04-10 17:13:49 +02:00
parent d5779156d2
commit c7300a2b0a
12 changed files with 168 additions and 74 deletions

View File

@@ -52,7 +52,12 @@
<div class="container mt-5">
<h1 class="text-center">Medewerker Login</h1>
<form id="loginForm" action="process_login.php" method="POST" class="mt-4">
<?php if (isset($_GET['error']) && $_GET['error'] === 'invalid_credentials'): ?>
<div class="alert alert-danger text-center" role="alert">
Ongeldige inloggegevens. Probeer het opnieuw.
</div>
<?php endif; ?>
<form id="loginForm" action="php/process_login.php" method="POST" class="mt-4">
<div class="mb-3">
<label for="username" class="form-label">Gebruikersnaam</label>
<input type="text" id="username" name="username" class="form-control" required>