aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/home.lisp
diff options
context:
space:
mode:
authorGrant Shangreaux <grant@unabridgedsoftware.com>2024-06-23 16:42:34 -0500
committerGrant Shangreaux <grant@unabridgedsoftware.com>2024-06-23 16:42:34 -0500
commit68d30b9c81c4e099e0111fe0bbb33715dd572e8c (patch)
treeefb4c43690494fddb47298f253a05092b2564160 /site/home.lisp
parentce470567c4421da7d073685cf845fdc4448aadc0 (diff)
[109] Add: logout action and some session endpoint refactor
Diffstat (limited to 'site/home.lisp')
-rw-r--r--site/home.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/site/home.lisp b/site/home.lisp
index 47d0f17..5267985 100644
--- a/site/home.lisp
+++ b/site/home.lisp
@@ -9,6 +9,11 @@
(:h1 "hey " (user-name user))
(:br)
(:div
+ (:form :method "POST" :action (wknd:route-to 'session.destroy)
+ (:button :type "submit" "Logout")))
+ (:br)
+ (:br)
+ (:div
(:form :method "POST" :action (wknd:route-to 'create.invite)
(:p "Initiate an invitation...")
(:button :type "submit" "Bite Someone")))