1
0
Fork 0

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

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 {