Skip to content

Commit 775e3ec

Browse files
committed
bug fix
1 parent d1d23b6 commit 775e3ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/setup_addauth.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mongo --host mongo1:27017 <<EOF
2020
{
2121
user: "root",
2222
pwd: "rootpassword",
23-
roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
23+
roles: [ { role: "root", db: "admin" } ]
2424
}
2525
);
2626
db.createUser(

0 commit comments

Comments
 (0)