|
@@ -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
|