Commit 43e02e8d authored by Mateusz Biliński's avatar Mateusz Biliński

Removed typo. Fixes #5084.

parent f4adaa20
......@@ -165,7 +165,7 @@ def MechanismHandler(self):
self.mecs.remove('PLAIN')
sasl_data = u'%s\x00%s\x00%s' % (self.username + '@' + \
self._owner.Server, self.username, self.password)
asl_data = sasl_data.encode('utf-8').encode('base64').replace(
sasl_data = sasl_data.encode('utf-8').encode('base64').replace(
'\n','')
node = Node('auth', attrs={'xmlns': NS_SASL, 'mechanism': 'PLAIN'},
payload=[sasl_data])
......
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