Don't cache the xmpp/password PConfig value

This commit is contained in:
Hypolite Petovan 2017-11-23 20:34:35 -05:00
parent d5887f9f9a
commit 40c37d76fe
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class ExAuth
}
if ($Error) {
$this->writeLog(LOG_INFO, 'check against alternate password for ' . $sUser . '@' . $aCommand[2]);
$sPassword = PConfig::get($uid, 'xmpp', 'password');
$sPassword = PConfig::get($uid, 'xmpp', 'password', null, true);
$Error = ($aCommand[3] != $sPassword);
}
} else {