Use hashed xmpp passwords

This commit is contained in:
Bob Mottram 2014-09-25 14:30:58 +01:00
parent b70980b471
commit b286617871
1 changed files with 1 additions and 0 deletions

View File

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