Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Providing jid parameter here breaks RFC3920, section 6.1 point 7 duri…
Browse files Browse the repository at this point in the history
…ng SASL auth.
  • Loading branch information
Marko-M committed May 19, 2012
1 parent 0ffac80 commit 3731b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/XmppPrebind.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ private function buildPlainAuth(Auth_SASL_Common $auth) {
private function sendChallengeAndBuildDigestMd5Auth(Auth_SASL_Common $auth) {
$challenge = $this->sendChallenge();

$authString = $auth->getResponse(self::getNodeFromJid($this->jid), $this->password, $challenge, $this->jabberHost, self::SERVICE_NAME, $this->jid);
$authString = $auth->getResponse(self::getNodeFromJid($this->jid), $this->password, $challenge, $this->jabberHost, self::SERVICE_NAME);
$this->debug($authString, 'DIGEST-MD5 Auth String');

$authString = base64_encode($authString);
Expand Down

0 comments on commit 3731b7a

Please sign in to comment.