don't infinitely loop SASLUserPass attempts on FAIL or ABORT

This commit is contained in:
jesopo 2021-09-19 21:34:57 +00:00
parent dfd78b3d3e
commit 7b6a845927
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ class SASLContext(ServerContext):
return SASLResult.SUCCESS
elif line.command == "904":
match.pop(0)
else:
break
return SASLResult.FAILURE