From 2fd71cd6374d02d8e67faa0e87fb943c4c72011a Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 1 Aug 2014 03:15:39 +0200 Subject: =?UTF-8?q?Display=20=E2=80=9Cauthentication=20failed=E2=80=9D=20o?= =?UTF-8?q?nly=20when=20all=20auth=20methods=20failed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/core.py') diff --git a/src/core/core.py b/src/core/core.py index b2951aea..63367c7f 100644 --- a/src/core/core.py +++ b/src/core/core.py @@ -193,7 +193,7 @@ class Core(object): self.xmpp.add_event_handler('connected', self.on_connected) self.xmpp.add_event_handler('connection_failed', self.on_failed_connection) self.xmpp.add_event_handler('disconnected', self.on_disconnected) - self.xmpp.add_event_handler('failed_auth', self.on_failed_auth) + self.xmpp.add_event_handler('failed_all_auth', self.on_failed_all_auth) self.xmpp.add_event_handler('no_auth', self.on_no_auth) self.xmpp.add_event_handler("session_start", self.on_session_start) self.xmpp.add_event_handler("session_start", @@ -1897,7 +1897,7 @@ class Core(object): on_groupchat_presence = handlers.on_groupchat_presence on_failed_connection = handlers.on_failed_connection on_disconnected = handlers.on_disconnected - on_failed_auth = handlers.on_failed_auth + on_failed_all_auth = handlers.on_failed_all_auth on_no_auth = handlers.on_no_auth on_connected = handlers.on_connected on_session_start = handlers.on_session_start -- cgit v1.2.3