diff options
Diffstat (limited to 'src/mongo/db/security_common.cpp')
-rw-r--r-- | src/mongo/db/security_common.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/security_common.cpp b/src/mongo/db/security_common.cpp index f071acbe385..59cb2d503d3 100644 --- a/src/mongo/db/security_common.cpp +++ b/src/mongo/db/security_common.cpp @@ -113,10 +113,6 @@ namespace mongo { // createPWDigest should really not be a member func DBClientConnection conn; internalSecurity.pwd = conn.createPasswordDigest(internalSecurity.user, str); - AuthenticationTable::getMutableInternalSecurityAuthenticationTable().addAuth( - "local", - internalSecurity.user, - Auth::WRITE ); return true; } @@ -159,9 +155,4 @@ namespace mongo { return authTable.getAuthForDb( dbname ).level >= level; } - const AuthenticationTable AuthenticationInfo::getAuthTable() const { - scoped_spinlock lk( _lock ); - return _authTable; - } - } // namespace mongo |