on RPL_SASLMECHS, we should still wait_for the ERR_SASLFAIL after it

This commit is contained in:
jesopo 2020-04-10 21:36:17 +01:00
parent 5da82e7d66
commit 3700ba4ab6

View file

@ -126,6 +126,7 @@ class SASLContext(ServerContext):
# prior to CAP v3.2 - ERR telling us which mechs are supported
available = line.params[1].split(",")
match = _common(available)
await self.server.wait_for(NUMERICS_FAIL)
elif line.command == "AUTHENTICATE" and line.params[0] == "+":
auth_text = ""