add logout button to user page

This commit is contained in:
Mystikfluu
2022-06-16 16:03:26 +02:00
parent 824eb99851
commit b41d420ce1
3 changed files with 13 additions and 2 deletions
+2
View File
@@ -34,6 +34,8 @@
<button onclick="location.assign('/changeUsername')">Want to change your username?</button>
<br>
<button onclick="location.assign('/posts')">Want to chat with some cool fellas?</button>
<br>
<button onclick="logout()">Logout</button>
</div>
</main>
<footer>