Fork me on GitHub
#luminus
<
2018-04-17
>
yogthos02:04:40

and moved out the wrap-context middleware to the +servlet profile

adc1721:04:39

Another question, in services.clj, where is the user in the following code defined?

(defapi service-routes
  (GET "/authenticated" []
       :auth-rules authenticated?
       :current-user user
       (ok {:user user}))
I may just be confused by how custom metadata handlers work with compojure-api, but I can’t see a reference to user anywhere.