Merge pull request #485 from annando/xmpp-auto-auth

Preparation to make the automatic authentication work (hopefully) reliable
This commit is contained in:
Hypolite Petovan 2018-01-06 20:01:19 -05:00 committed by GitHub
commit 4b05d70b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ function xmpp_converse(App $a)
if (Config::get("xmpp", "central_userbase") && !PConfig::get(local_user(), "xmpp", "individual")) {
$bosh_proxy = Config::get("xmpp", "bosh_proxy");
$password = PConfig::get(local_user(), "xmpp", "password");
$password = PConfig::get(local_user(), "xmpp", "password", '', true);
if ($password == "") {
$password = random_string(16);