fixed redirect to admin login and minor bug

Fixed redirect to the admin page by actually calling the login function.
Also fixed file path of logo in admin.php
This commit is contained in:
sraffauf
2026-01-22 17:59:44 +01:00
parent e2261ff0dd
commit f24151c21c
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
<h2>Admin Login</h2>
<img src="../img/csg.png" width="100" />
</div>
<form id="loginForm">
<form id="loginForm" action="../php/login.php" method="post">
<label for="username">Benutzername</label>
<input type="text" id="username" name="username" required />
<label for="password">Passwort</label>
@@ -21,6 +21,6 @@
</form>
<p id="errorMsg" style="color: red;"></p>
</div>
<script src="../js/login.js"></script>
<!--<script src="../js/login.js"></script>-->
</body>
</html>