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 d153b65 commit c72427dCopy full SHA for c72427d
packages/mongodb-memory-server-core/src/MongoMemoryServer.ts
@@ -670,7 +670,7 @@ export class MongoMemoryServer extends EventEmitter implements ManagerAdvanced {
670
this.debug(`createAuth: Creating Root user, name: "${this.auth.customRootName}"`);
671
await db.command({
672
createUser: this.auth.customRootName,
673
- pwd: 'rootuser',
+ pwd: this.auth.customRootPwd,
674
mechanisms: ['SCRAM-SHA-256'],
675
customData: {
676
createdBy: 'mongodb-memory-server',
0 commit comments