瀏覽代碼

Use hashed xmpp passwords

Bob Mottram 11 年之前
父節點
當前提交
b286617871
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      install-freedombone.sh

+ 1
- 0
install-freedombone.sh 查看文件

@@ -1726,6 +1726,7 @@ function install_xmpp {
1726 1726
       sed -i '/c2s_require_encryption/a\s2s_require_encryption = true' /etc/prosody/prosody.cfg.lua
1727 1727
   fi
1728 1728
   sed -i 's/--"bosh";/"bosh";/g' /etc/prosody/prosody.cfg.lua
1729
+  sed -i 's/authentication = "internal_plain"/authentication = "internal_hashed"' /etc/prosody/prosody.cfg.lua
1729 1730
 
1730 1731
   prosodyctl register $MY_USERNAME $DOMAIN_NAME $XMPP_PASSWORD
1731 1732
   service prosody restart