You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
The auth() method is not working properly the success reponse doest not satisfy. In the Openfire 3.10 version the sucess response is a little different.
if (!$body->hasChildNodes() || $body->firstChild->nodeName !== 'success') {
thrownewException("Invalid login");
}
The text was updated successfully, but these errors were encountered:
~$ diff lib/XmppPrebind.php xmpp-prebind-php/lib/XmppPrebind.php
219,220c218
< // if (!$body->hasChildNodes() || $body->firstChild->nodeName !== 'success') {
< if (!isset($body->firstChild->nodeName) || $body->firstChild->nodeName !== 'success') { // $body->firstChild->nodeName might not exists !
---
> if (!$body->hasChildNodes() || $body->firstChild->nodeName !== 'success') {
$body might not be an object at all, it's better to check it. Even more: encryption doesn't work at all with OF ! I might be more specific or if you prefer I can open a new issue for it (or a pull request if you want it)
The auth() method is not working properly the success reponse doest not satisfy. In the Openfire 3.10 version the sucess response is a little different.
The text was updated successfully, but these errors were encountered: