Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cemerick committed Apr 13, 2012
1 parent a1ff826 commit dcf75c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cemerick/friend.clj
Expand Up @@ -139,9 +139,9 @@ Equivalent to (complement current-authentication)."}
unauthorized-handler #'default-unauthorized-handler}}
handler request]
(let [request (assoc request ::auth-config config)
workflow-result (->> (map #(% request) workflows)
(filter boolean)
first)]
workflow-result (->> (map #(% request) workflows)
(filter boolean)
first)]
(if (and workflow-result (not (auth? workflow-result)))
;; workflow assumed to be a ring response
workflow-result
Expand Down

0 comments on commit dcf75c5

Please sign in to comment.