summaryrefslogtreecommitdiff
path: root/src/chef/pages/home.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/chef/pages/home.clj')
-rw-r--r--src/chef/pages/home.clj12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/chef/pages/home.clj b/src/chef/pages/home.clj
index 2060668..748c60c 100644
--- a/src/chef/pages/home.clj
+++ b/src/chef/pages/home.clj
@@ -27,11 +27,7 @@
[:div {:id "search-results"}]]))
(defn handler [req]
- (let [access-token (get-in req [:oauth2/access-tokens :auth])
- resp (-> (render)
- html/html
- str
- ruresp/response)]
- (if (some? access-token)
- (assoc resp :session (assoc (:session req) :oauth-token access-token))
- resp)))
+ (-> (render)
+ html/html
+ str
+ ruresp/response))