From 4bb8dfb2e9ad708f4b52acdb1518d909c2f764ce Mon Sep 17 00:00:00 2001 From: Aaron Fischer Date: Tue, 25 Apr 2017 23:12:46 +0200 Subject: [PATCH] Execute the session backend --- src/clj/yenu/middleware.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clj/yenu/middleware.clj b/src/clj/yenu/middleware.clj index 07f03a6..e997e96 100644 --- a/src/clj/yenu/middleware.clj +++ b/src/clj/yenu/middleware.clj @@ -93,8 +93,8 @@ (defn wrap-auth [handler] (-> handler (wrap-access-rules {:rules rules :on-error on-error}) - (wrap-authentication session-backend) - (wrap-authorization session-backend))) + (wrap-authentication (session-backend)) + (wrap-authorization (session-backend)))) (defn wrap-base [handler] (-> ((:middleware defaults) handler)