fix logout

This commit is contained in:
Nereziel
2023-12-13 20:02:01 +01:00
committed by GitHub
parent ae56b18a3c
commit 7e12b89a9e

View File

@@ -59,7 +59,7 @@ if (isset($_SESSION['steamid'])) {
loginbutton("rectangle");
echo "</h2></div>";
} else {
echo "<div class='bg-primary'><h2>Your current weapon skin loadout <a class='btn btn-danger' href='{$_SERVER['PHP_SELF']}'>Logout</a></h2> </div>";
echo "<div class='bg-primary'><h2>Your current weapon skin loadout <a class='btn btn-danger' href='{$_SERVER['PHP_SELF']}?logout'>Logout</a></h2> </div>";
echo "<div class='card-group mt-2'>";
?>
@@ -260,4 +260,4 @@ if (isset($_SESSION['steamid'])) {
</div>
</body>
</html>
</html>