diff options
-rw-r--r-- | src/mongo/db/auth/native_sasl_authentication_session.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/auth/native_sasl_authentication_session.cpp b/src/mongo/db/auth/native_sasl_authentication_session.cpp index 02541481c32..dbde2b036b2 100644 --- a/src/mongo/db/auth/native_sasl_authentication_session.cpp +++ b/src/mongo/db/auth/native_sasl_authentication_session.cpp @@ -156,6 +156,8 @@ namespace { StatusWith<bool> status = _saslConversation->step(inputData, outputData); if (status.isOK()) { _done = status.getValue(); + } else { + _done = true; } return status.getStatus(); } |