one oauth approach.

This commit is contained in:
Bryce Covert
2017-12-18 16:15:13 -08:00
parent 08e90deace
commit 129a92c688
5 changed files with 47 additions and 2 deletions

View File

@@ -16,6 +16,12 @@
(fn [db [_ active-page]]
(update-in db [:menu :active?] #(not %))))
(re-frame/reg-event-db
::logged-in
(fn [db [_ token user]]
(doto (assoc db :user (assoc user :token token))
println)))
(re-frame/reg-event-db
::swap-company
(fn [db [_ company]]