don't infinitely loop SASLUserPass attempts on FAIL or ABORT
This commit is contained in:
parent
dfd78b3d3e
commit
7b6a845927
1 changed files with 2 additions and 0 deletions
|
@ -152,6 +152,8 @@ class SASLContext(ServerContext):
|
|||
return SASLResult.SUCCESS
|
||||
elif line.command == "904":
|
||||
match.pop(0)
|
||||
else:
|
||||
break
|
||||
|
||||
return SASLResult.FAILURE
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue