From: Hypolite Petovan Date: Tue, 23 Jul 2019 09:11:33 +0000 (-0400) Subject: Enable two-factor app-specific passwords for ejabberd X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3812d3d4459cd0c05227d59b17907a26ef4839ab;p=friendica.git Enable two-factor app-specific passwords for ejabberd --- diff --git a/src/Util/ExAuth.php b/src/Util/ExAuth.php index d341682e80..46452f6e4e 100644 --- a/src/Util/ExAuth.php +++ b/src/Util/ExAuth.php @@ -228,7 +228,7 @@ class ExAuth $aUser = DBA::selectFirst('user', ['uid', 'password', 'legacy_password'], ['nickname' => $sUser]); if (DBA::isResult($aUser)) { $uid = $aUser['uid']; - $success = User::authenticate($aUser, $aCommand[3]); + $success = User::authenticate($aUser, $aCommand[3], true); $Error = $success === false; } else { $this->writeLog(LOG_WARNING, 'user not found: ' . $sUser);