Add log message noting that SCRAM-SHA-1-PLUS requires Py3.3+
This commit is contained in:
parent
cd2d25cf87
commit
6f64dac262
@ -100,6 +100,9 @@ class FeatureMechanisms(BasePlugin):
|
|||||||
if hasattr(self.xmpp.socket, 'get_channel_binding'):
|
if hasattr(self.xmpp.socket, 'get_channel_binding'):
|
||||||
result[value] = self.xmpp.socket.get_channel_binding()
|
result[value] = self.xmpp.socket.get_channel_binding()
|
||||||
else:
|
else:
|
||||||
|
log.debug("Channel binding not supported.")
|
||||||
|
log.debug("Use Python 3.3+ for channel binding and " + \
|
||||||
|
"SCRAM-SHA-1-PLUS support")
|
||||||
result[value] = None
|
result[value] = None
|
||||||
elif value == 'host':
|
elif value == 'host':
|
||||||
result[value] = creds.get('host', self.xmpp.requested_jid.domain)
|
result[value] = creds.get('host', self.xmpp.requested_jid.domain)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user