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:
parent
d5f0d74d5c
commit
7b46b1c860
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user