base Logout implementiert

This commit is contained in:
2025-06-23 10:17:10 +02:00
parent ff1234d561
commit 032029ce7f
3 changed files with 15 additions and 4 deletions

View File

@@ -14,8 +14,7 @@
<div class="user-info">
<span>Welcome, <?php echo htmlspecialchars($_SESSION['username'], ENT_QUOTES, 'UTF-8'); ?>!</span>
<form id="logout-form" method="POST" style="display: inline;">
<input type="hidden" name="action" value="logout">
<button type="submit" class="icon-button" title="Logout"></button>
<a class="icon-button" href="?controller=User&do=logoutUser"></a>
</form>
<!-- <button class="icon-button" title="More options">⋮</button> -->
</div>