And again some removed notices

This commit is contained in:
Michael 2018-07-22 06:41:30 +00:00
parent c7764068cc
commit 1f9c353bae
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ function xmpp_addon_settings(App $a, &$s)
function xmpp_login()
{
if (!$_SESSION["allow_api"]) {
if (isset($_SESSION["allow_api"]) && !$_SESSION["allow_api"]) {
$password = random_string(16);
PConfig::set(local_user(), "xmpp", "password", $password);
}