0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-28 07:59:02 +01:00

SERVER-17705 Fix credentials field inconsistency

This commit is contained in:
Andreas Nilsson 2015-03-23 17:30:48 -04:00
parent d5f0d74d5c
commit 7b46b1c860

View File

@ -149,6 +149,10 @@ namespace mongo {
!user->getCredentials().isExternal);
string ha1 = user->getCredentials().password;
authzManager.releaseUser(user);
if (ha1.empty()) {
return false;
}
string ha2 = md5simpledigest( (string)"GET" + ":" + parms["uri"] );
stringstream r;