Browse Source

chore: disable encryption temporally

Tienson Qin 4 years ago
parent
commit
5b5ab465a8
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/main/frontend/components/settings.cljs

+ 6 - 6
src/main/frontend/components/settings.cljs

@@ -293,12 +293,12 @@
                                      :else
                                      (notification/show! "Please make sure the page exists!" :warning))))}]]]])
 
-         (toggle "enable_encryption"
-                 (t :settings-page/enable-encryption)
-                 enable-encryption?
-                 (fn []
-                   (let [value (not enable-encryption?)]
-                     (config-handler/set-config! :feature/enable-encryption? value))))
+         ;; (toggle "enable_encryption"
+         ;;         (t :settings-page/enable-encryption)
+         ;;         enable-encryption?
+         ;;         (fn []
+         ;;           (let [value (not enable-encryption?)]
+         ;;             (config-handler/set-config! :feature/enable-encryption? value))))
 
          (when (string/starts-with? current-repo "https://")
            (toggle "enable_git_auto_push"