diff options
-rw-r--r-- | nbxmpp/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/auth.py b/nbxmpp/auth.py index 6c287ec..4d24dcf 100644 --- a/nbxmpp/auth.py +++ b/nbxmpp/auth.py @@ -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() |