Commit bfa40738 authored by Philipp Hörist's avatar Philipp Hörist

SASL: Treat unknown error conditions as not-authorized

Recommended by the RFC
parent 5425f7ea
......@@ -187,7 +187,7 @@ class SASL:
def _on_failure(self, stanza):
text = stanza.getTagData('text')
reason = 'unknown-error'
reason = 'not-authorized'
childs = stanza.getChildren()
for child in childs:
name = child.getName()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment