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 3b0da95 commit 1c6ae4eCopy full SHA for 1c6ae4e
README.md
@@ -127,11 +127,14 @@ And for the Redirect Uri set it to the one from your `.env` file.
127
Next create `init-mongo.js` in your working directory:
128
129
```js
130
-{
131
- {
132
- file.examples / init - mongo.js
133
- }
134
-}
+// This is only for initializing the db and creating the mailauth user
+
+db = db.getSiblingDB("mailauth")
+db.createUser({
+ user: "mailauth",
135
+ pwd: "SECURE_PW", // This should match the one in your env
136
+ roles: [{ role: "readWrite", db: "mailauth" }],
137
+})
138
```
139
140
### Reverse Proxy
0 commit comments