diff options
Diffstat (limited to 'site/session.lisp')
-rw-r--r-- | site/session.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/session.lisp b/site/session.lisp index 342d6d0..af02947 100644 --- a/site/session.lisp +++ b/site/session.lisp @@ -1,6 +1,6 @@ (in-package #:vampire) -(wknd:defendpoint session.create +(wknd:defendpoint create.session :post :to "login" :parameters (name string) @@ -20,7 +20,7 @@ (print session) (wknd:set-cookie +session-cookie+ :value (key session)))) -(wknd:defendpoint session.destroy +(wknd:defendpoint destroy.session :using user-known :post :to "logout" :handle (do> |