fix DIGEST auth with Alexey patch
This commit is contained in:
parent
77544d4d02
commit
392c1dc7f4
|
@ -98,9 +98,6 @@ class SASL(PlugIn):
|
||||||
""" Implements SASL authentication. """
|
""" Implements SASL authentication. """
|
||||||
def plugin(self,owner):
|
def plugin(self,owner):
|
||||||
if not self._owner.Dispatcher.Stream._document_attrs.has_key('version'): self.startsasl='not-supported'
|
if not self._owner.Dispatcher.Stream._document_attrs.has_key('version'): self.startsasl='not-supported'
|
||||||
elif self._owner.Dispatcher.Stream.features:
|
|
||||||
try: self.FeaturesHandler(self._owner.Dispatcher,self._owner.Dispatcher.Stream.features)
|
|
||||||
except NodeProcessed: pass
|
|
||||||
else: self.startsasl=None
|
else: self.startsasl=None
|
||||||
|
|
||||||
def auth(self,username,password):
|
def auth(self,username,password):
|
||||||
|
|
Loading…
Reference in New Issue