Skip to content

Commit 25d5d2a

Browse files
committed
SERVER-6246 Allow usersInfo command to run on secondaries
1 parent 7400583 commit 25d5d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/db/commands/user_management_commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ namespace mongo {
777777
}
778778

779779
virtual bool slaveOk() const {
780-
return false;
780+
return true;
781781
}
782782

783783
virtual LockType locktype() const {

0 commit comments

Comments
 (0)