auth now actually works straight through google

This commit is contained in:
Bryce Covert
2017-12-18 22:45:24 -08:00
parent 3b3295f535
commit 36806c9cf6
6 changed files with 57 additions and 14 deletions

View File

@@ -224,7 +224,8 @@
)
(defn login []
(let [user (re-frame/subscribe [::subs/user])]
[:a {:class "navbar-link login" :href (login-url)} (or (get @user "name") "Login")]))
(println @user)
[:a {:class "navbar-link login" :href (login-url)} (or (:name @user) "Login")]))
(defn main-panel []
(let [company (re-frame/subscribe [::subs/company])