aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-01-29 15:11:39 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-01-29 15:11:39 +0200
commit4417f8f23f949d549b93fe7c7227e134b6df5e9d (patch)
treeb207f2959b95f9caedc4163755c98bcd51cd6106
parent9f0a624ea66aa329a78c464f08d99f63c7282ee8 (diff)
downloadfileup-4417f8f23f949d549b93fe7c7227e134b6df5e9d.tar.gz
Sign out button now signs out
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 21d56f0..645e31f 100644
--- a/index.php
+++ b/index.php
@@ -20,7 +20,7 @@
<?php if (array_key_exists("username", $_SESSION)) { ?>
<li><?php echo $_SESSION['username'];?></li>
- <li>Sign out</li>
+ <li onclick="window.location.href='/php/logout.php'">Sign out</li>
<?php } else {?>