summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-12-23 21:37:21 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-12-23 21:37:21 +0100
commitcc294fe404c750acacca7385cd1d14572eeb6643 (patch)
tree8b1717e6a234c4794ede4824d5831d6389f4dc49
parent0888c3fb04d2eb32af3e68df5ff31fcdb08cafed (diff)
Fix frontend-decoupled authorization.
-rw-r--r--mulkcms-hunchentoot.lisp5
1 files changed, 2 insertions, 3 deletions
diff --git a/mulkcms-hunchentoot.lisp b/mulkcms-hunchentoot.lisp
index a2e5a15..9f123d0 100644
--- a/mulkcms-hunchentoot.lisp
+++ b/mulkcms-hunchentoot.lisp
@@ -28,9 +28,7 @@
(mulkcms::*request-method*
(hunchentoot:request-method*))
(mulkcms::*headers*
- (hunchentoot::headers-in*))
- (mulkcms::*authorization-page-handler*
- #'handle-authorization-page))
+ (hunchentoot::headers-in*)))
(multiple-value-bind
(mulkcms::*user-name* mulkcms::*password*)
(hunchentoot:authorization)
@@ -73,5 +71,6 @@
(setq *acceptor* (make-instance 'hunchentoot:easy-acceptor
:port *server-port*
:address *server-address*))
+ (setq mulkcms::*authorization-page-handler* #'handle-authorization-page)
(hunchentoot:start *acceptor*))