users are not activated, looks like you can edit existing ones
This commit is contained in:
@@ -21,14 +21,14 @@
|
||||
|
||||
(defn ^:export init []
|
||||
(dev-setup)
|
||||
(pushy/start! p/history)
|
||||
|
||||
(if-let [jwt (.get (js/URLSearchParams. (.-search (.-location js/window))) "jwt")]
|
||||
(do
|
||||
(.setItem js/localStorage "jwt" jwt)
|
||||
(re-frame/dispatch-sync [::events/initialize-db jwt]))
|
||||
(do
|
||||
(re-frame/dispatch-sync [::events/initialize-db (.getItem js/localStorage "jwt")])))
|
||||
|
||||
(pushy/start! p/history)
|
||||
(mount-root))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user