diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/site.clj | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/site.clj b/src/site.clj index b5bdf4a..8647c23 100755 --- a/src/site.clj +++ b/src/site.clj @@ -308,14 +308,10 @@ "Middleware to support automatic cookie login. Place after with-session." [handler] (fn [request] - (prn "with-cookie-login" (request :session)) (if (or (logged-in? (request :session)) (not (get-in request [:cookies :token]))) (handler request) - (let [r (handle-request-with-login-token handler request)] - (prn r) - r)))) - + (handle-request-with-login-token handler request)))) ;; Landing |
