summaryrefslogtreecommitdiff
path: root/haunt/api.scm
diff options
context:
space:
mode:
Diffstat (limited to 'haunt/api.scm')
-rw-r--r--haunt/api.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/haunt/api.scm b/haunt/api.scm
index 5b5fa2b..0103400 100644
--- a/haunt/api.scm
+++ b/haunt/api.scm
@@ -15,6 +15,7 @@
;;; <http://www.gnu.org/licenses/>.
(use-modules (ice-9 match)
+ (jakob dynamic captcha)
(jakob dynamic capabilities comment-form)
(jakob dynamic capabilities comments)
(jakob dynamic capabilities gallery)
@@ -40,7 +41,7 @@
(log-append! 'info (format #f "~a ~a (~a) (~a)" method endpoint args originating-ip)))
((match (cons (request-method request) endpoint)
(('GET "comment-form" _) get-comment-form)
- ;; ('(GET "challenge") make-challenge)
+ ('(GET "challenge") make-pow-challenge!)
;; ('(GET "comments") get-comments)
(('POST "comment") put-comment)
(('GET "gallery") get-gallery)