We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b601ca commit 25b04cfCopy full SHA for 25b04cf
packages/mongodb-memory-server-core/src/MongoMemoryServer.ts
@@ -693,7 +693,7 @@ export class MongoMemoryServer extends EventEmitter implements ManagerAdvanced {
693
this.debug(`createAuth: Creating Root user, name: "${this.auth.customRootName}"`);
694
await db.command({
695
createUser: this.auth.customRootName,
696
- pwd: 'rootuser',
+ pwd: this.auth.customRootPwd,
697
mechanisms: ['SCRAM-SHA-256'],
698
customData: {
699
createdBy: 'mongodb-memory-server',
0 commit comments