mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-29 16:53:14 +00:00
Preparation to make the automatic authentication work (hopefully) reliable
This commit is contained in:
parent
1a260ceea7
commit
d9330e3b05
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ function xmpp_converse(App $a)
|
||||||
if (Config::get("xmpp", "central_userbase") && !PConfig::get(local_user(), "xmpp", "individual")) {
|
if (Config::get("xmpp", "central_userbase") && !PConfig::get(local_user(), "xmpp", "individual")) {
|
||||||
$bosh_proxy = Config::get("xmpp", "bosh_proxy");
|
$bosh_proxy = Config::get("xmpp", "bosh_proxy");
|
||||||
|
|
||||||
$password = PConfig::get(local_user(), "xmpp", "password");
|
$password = PConfig::get(local_user(), "xmpp", "password", '', true);
|
||||||
|
|
||||||
if ($password == "") {
|
if ($password == "") {
|
||||||
$password = random_string(16);
|
$password = random_string(16);
|
||||||
|
|
Loading…
Reference in a new issue