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

Commit

Permalink
formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsimam committed Aug 31, 2019
1 parent 4141560 commit e159b12
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions waiter/src/waiter/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -814,15 +814,15 @@
(let [auth-handler (auth/wrap-auth-handler authenticator request-handler)
password (first passwords)]
(cond->> (fn authenticate-request [request]
(cond
(:skip-authentication request)
(do
(log/info "skipping authentication for request")
(request-handler request))
(auth/request-authenticated? request)
(request-handler request)
:else
(auth-handler request)))
(cond
(:skip-authentication request)
(do
(log/info "skipping authentication for request")
(request-handler request))
(auth/request-authenticated? request)
(request-handler request)
:else
(auth-handler request)))
jwt-authenticator (jwt/wrap-auth-handler jwt-authenticator)
true (auth/wrap-auth-cookie-handler password)))))
:can-run-as?-fn (pc/fnk [[:state entitlement-manager]]
Expand Down

0 comments on commit e159b12

Please sign in to comment.