* auth now disconnects if failed
git-svn-id: svn://netflint.net/xmpphp@16 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
parent
f5848fdeaa
commit
d4876b1702
1
xmpp.php
1
xmpp.php
@ -114,6 +114,7 @@ class XMPP extends XMLStream {
|
|||||||
|
|
||||||
function sasl_failure_handler($xml) {
|
function sasl_failure_handler($xml) {
|
||||||
$this->log->log("Auth failed!", LOGGING_ERROR);
|
$this->log->log("Auth failed!", LOGGING_ERROR);
|
||||||
|
$this->disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
function resource_bind_handler($xml) {
|
function resource_bind_handler($xml) {
|
||||||
|
Loading…
Reference in New Issue
Block a user