Commit ba50f486 authored by Boris Günthner's avatar Boris Günthner

add user creation

parent bb3b1b6b
...@@ -20,3 +20,13 @@ db.clients.insertOne( ...@@ -20,3 +20,13 @@ db.clients.insertOne(
} }
} }
) )
db.createUser(
{
user: "satosa",
pwd: "RG6gdsfbtRRDuXad",
roles: [
{ role: "readWrite", db: "satosa" }
]
}
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment