]> git.mxchange.org Git - friendica-addons.git/commitdiff
Preparation to make the automatic authentication work (hopefully) reliable
authorMichael <heluecht@pirati.ca>
Sun, 7 Jan 2018 00:56:32 +0000 (00:56 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 7 Jan 2018 00:56:32 +0000 (00:56 +0000)
xmpp/xmpp.php

index e523c65c5fe3fcccb954f01c6d94d1d2bfca3f34..d9335483a8408c74dae266aed9710af2bc50226d 100644 (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);