From c6f91663f38d806c968ce32bd41c45fd4cad71f2 Mon Sep 17 00:00:00 2001 From: CodeShell <122738806+CodeShellDev@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:59:26 +0200 Subject: [PATCH 1/2] fixed README --- .github/templates/README.template.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/templates/README.template.md b/.github/templates/README.template.md index 70decee..037a8c3 100644 --- a/.github/templates/README.template.md +++ b/.github/templates/README.template.md @@ -33,11 +33,7 @@ And for the Redirect Uri set it to the one from your `.env` file. Next create `init-mongo.js` in your working directory: ```js -{ - { - file.examples / init - mongo.js - } -} +{ { file.examples/init-mongo.js } } ``` ### Reverse Proxy From 1c6ae4ef7dbf6061d2188366976b0be988669a65 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 19:59:36 +0000 Subject: [PATCH 2/2] Update README.md --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ac392c7..f33902c 100644 --- a/README.md +++ b/README.md @@ -127,11 +127,14 @@ And for the Redirect Uri set it to the one from your `.env` file. Next create `init-mongo.js` in your working directory: ```js -{ - { - file.examples / init - mongo.js - } -} +// This is only for initializing the db and creating the mailauth user + +db = db.getSiblingDB("mailauth") +db.createUser({ + user: "mailauth", + pwd: "SECURE_PW", // This should match the one in your env + roles: [{ role: "readWrite", db: "mailauth" }], +}) ``` ### Reverse Proxy