Browse Source

chore: allow login on dev

Tienson Qin 1 year ago
parent
commit
b3963634e2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/frontend/components/header.cljs

+ 2 - 1
src/main/frontend/components/header.cljs

@@ -150,7 +150,8 @@
                      :icon (ui/icon "bulb")})
 
                   ;; Disable login on Web until RTC is ready
-                  (when (and (not login?) (not util/web-platform?))
+                  (when (and (not login?) (or (not util/web-platform?)
+                                              config/dev?))
                     {:title (t :login)
                      :options {:on-click #(state/pub-event! [:user/login])}
                      :icon (ui/icon "user")})