Assume we'll receive a 904 when SCRAM fails with an e= param (sasl)

This commit is contained in:
jesopo 2019-02-06 15:50:42 +00:00
parent 70b29a345a
commit 16ea48cb54

View file

@ -86,7 +86,6 @@ class Module(ModuleManager.BaseModule):
if current_scram.state == scram.SCRAMState.VerifyFailed:
event["server"].disconnect()
raise ValueError("Server SCRAM verification failed")
self._end_sasl(event["server"])
else:
raise ValueError("unknown sasl mechanism '%s'" % mechanism)