fix for md5 sasl authentication

This commit is contained in:
Brian Beggs 2010-07-09 13:36:23 -04:00 committed by Tom Nichols
parent e835843aab
commit c5b5cc4af1

View File

@ -251,7 +251,7 @@ class ClientXMPP(basexmpp, XMLStream):
logging.debug("MD5 auth challenge: %s", challenge)
if challenge.get('rspauth'): #authenticated success... send response
self.sendPriorityRaw("""<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>""")
self.sendRaw("""<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>""", priority=1, init=True )
return
#TODO: use realm is supplied by server, use default qop unless supplied by server